@@ -180,7 +180,7 class TimelogController < ApplicationController | |||
|
180 | 180 | @time_entry.attributes = params[:time_entry] |
|
181 | 181 | if request.post? and @time_entry.save |
|
182 | 182 | flash[:notice] = l(:notice_successful_update) |
|
183 |
redirect_to(params[:back_url] |
|
|
183 | redirect_to(params[:back_url].blank? ? {:action => 'details', :project_id => @time_entry.project} : params[:back_url]) | |
|
184 | 184 | return |
|
185 | 185 | end |
|
186 | 186 | @activities = Enumeration::get_values('ACTI') |
General Comments 0
You need to be logged in to leave comments.
Login now