Project

General

Profile

Patch #1524 ยป back_url.patch

Fraser McCrossan, 2008-06-24 21:23

View differences:

app/controllers/timelog_controller.rb (working copy)
@time_entry.attributes = params[:time_entry]
if request.post? and @time_entry.save
flash[:notice] = l(:notice_successful_update)
redirect_to(params[:back_url] || {:action => 'details', :project_id => @time_entry.project})
redirect_to(params[:back_url].blank? ? {:action => 'details', :project_id => @time_entry.project} : params[:back_url])
return
end
@activities = Enumeration::get_values('ACTI')
    (1-1/1)