@@ -115,8 +115,6 class TimelogController < ApplicationController | |||
|
115 | 115 | def new |
|
116 | 116 | @time_entry ||= TimeEntry.new(:project => @project, :issue => @issue, :user => User.current, :spent_on => User.current.today) |
|
117 | 117 | @time_entry.attributes = params[:time_entry] |
|
118 | ||
|
119 | call_hook(:controller_timelog_edit_before_save, { :params => params, :time_entry => @time_entry }) | |
|
120 | 118 | render :action => 'edit' |
|
121 | 119 | end |
|
122 | 120 |
General Comments 0
You need to be logged in to leave comments.
Login now