Patch #5717 ยป controller_timelog_edit_after_save.patch
app/controllers/timelog_controller.rb 2010-06-21 00:17:03.000000000 +0300 | ||
---|---|---|
217 | 217 |
|
218 | 218 |
if request.post? and @time_entry.save |
219 | 219 |
flash[:notice] = l(:notice_successful_update) |
220 |
call_hook(:controller_timelog_edit_after_save, { :params => params, :time_entry => @time_entry }) |
|
220 | 221 |
redirect_back_or_default :action => 'details', :project_id => @time_entry.project |
221 | 222 |
return |
222 | 223 |
end |