@@ -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