##// END OF EJS Templates
Do not call _before_save hook without saving....
Jean-Philippe Lang -
r8476:c131a38d7c0d
parent child
Show More
@@ -143,8 +143,6 class TimelogController < ApplicationController
143
143
144 def edit
144 def edit
145 @time_entry.attributes = params[:time_entry]
145 @time_entry.attributes = params[:time_entry]
146
147 call_hook(:controller_timelog_edit_before_save, { :params => params, :time_entry => @time_entry })
148 end
146 end
149
147
150 verify :method => :put, :only => :update, :render => {:nothing => true, :status => :method_not_allowed }
148 verify :method => :put, :only => :update, :render => {:nothing => true, :status => :method_not_allowed }
General Comments 0
You need to be logged in to leave comments. Login now