mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Merged r1589 from trunk.
git-svn-id: http://redmine.rubyforge.org/svn/branches/0.7-stable@1632 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
50755b5913
commit
59427dcfbf
@ -172,7 +172,7 @@ class TimelogController < ApplicationController
|
|||||||
@time_entry.attributes = params[:time_entry]
|
@time_entry.attributes = params[:time_entry]
|
||||||
if request.post? and @time_entry.save
|
if request.post? and @time_entry.save
|
||||||
flash[:notice] = l(:notice_successful_update)
|
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
|
return
|
||||||
end
|
end
|
||||||
@activities = Enumeration::get_values('ACTI')
|
@activities = Enumeration::get_values('ACTI')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user