@title = if target_user.nil?
t ".public_traces"
elsif current_user && current_user == target_user
- t ".my_traces"
+ t ".my_gps_traces"
else
t ".public_traces_from", :user => target_user.display_name
end
:description => params[:trace][:description],
:visibility => params[:trace][:visibility],
:inserted => false, :user => current_user,
- :timestamp => Time.now.getutc)
+ :timestamp => Time.now.utc)
@trace.valid?
@trace.errors.add(:gpx_file, "can't be blank")
:visibility => visibility,
:inserted => false,
:user => current_user,
- :timestamp => Time.now.getutc,
+ :timestamp => Time.now.utc,
:file => file
)