diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-10 17:35:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-10 17:35:09 +0000 |
commit | 8eef72aa1a443a8cdc9d4c610e68fe408d5a1fcc (patch) | |
tree | df8133e762edab7ead32818174f765f590e7de0d /app/controllers/timelog_controller.rb | |
parent | 4fc8c11cc06d3682f64f985e030ae6f57bd92be1 (diff) | |
download | redmine-8eef72aa1a443a8cdc9d4c610e68fe408d5a1fcc.tar.gz redmine-8eef72aa1a443a8cdc9d4c610e68fe408d5a1fcc.zip |
Separated new/edit views for the timelog controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8628 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/timelog_controller.rb')
-rw-r--r-- | app/controllers/timelog_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb index 13e147817..220954735 100644 --- a/app/controllers/timelog_controller.rb +++ b/app/controllers/timelog_controller.rb @@ -115,7 +115,6 @@ class TimelogController < ApplicationController def new @time_entry ||= TimeEntry.new(:project => @project, :issue => @issue, :user => User.current, :spent_on => User.current.today) @time_entry.attributes = params[:time_entry] - render :action => 'edit' end verify :method => :post, :only => :create, :render => {:nothing => true, :status => :method_not_allowed } |