diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-07 15:51:09 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-07 15:51:09 +0000 |
commit | 068771ea0764e326d720455c87e6c8cbc0f825a3 (patch) | |
tree | a79f34bf8471a43b3d0829507bdfcd8b716eba63 /app/views/timelog | |
parent | e59156b446f1e402c95d04c39374630f2913b611 (diff) | |
download | redmine-068771ea0764e326d720455c87e6c8cbc0f825a3.tar.gz redmine-068771ea0764e326d720455c87e6c8cbc0f825a3.zip |
Refactor: extract TimelogController#new from #edit
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4239 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r-- | app/views/timelog/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/timelog/index.html.erb b/app/views/timelog/index.html.erb index a17c06e65..737476f35 100644 --- a/app/views/timelog/index.html.erb +++ b/app/views/timelog/index.html.erb @@ -1,5 +1,5 @@ <div class="contextual"> -<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time-add' %> +<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'new', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time-add' %> </div> <%= render_timelog_breadcrumb %> |