summaryrefslogtreecommitdiffstats
path: root/app/views/issues/show.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 11:30:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 11:30:57 +0000
commit44ac1a0debc802b2ecbaa7cf7f763b373bf0fbb4 (patch)
tree392f95068f7a93f1ddb921dced7bb34815916382 /app/views/issues/show.rhtml
parent1b002983c31f0936b38d56d2f3d8731f724fc5ef (diff)
downloadredmine-44ac1a0debc802b2ecbaa7cf7f763b373bf0fbb4.tar.gz
redmine-44ac1a0debc802b2ecbaa7cf7f763b373bf0fbb4.zip
ProjectsController#add_issue moved to IssuesController#new.
Tracker can now be changed/selected on the new issue form. This action can be invoked without the tracker_id parameter (the first enabled tracker will be used by default). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1080 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/show.rhtml')
-rw-r--r--app/views/issues/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml
index 8cd44424c..7208e37be 100644
--- a/app/views/issues/show.rhtml
+++ b/app/views/issues/show.rhtml
@@ -3,7 +3,7 @@
<%= link_to_if_authorized l(:button_edit), {:controller => 'issues', :action => 'edit', :id => @issue}, :class => 'icon icon-edit', :accesskey => accesskey(:edit) %>
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time' %>
<%= watcher_tag(@issue, User.current) %>
-<%= link_to_if_authorized l(:button_copy), {:controller => 'projects', :action => 'add_issue', :id => @project, :copy_from => @issue }, :class => 'icon icon-copy' %>
+<%= link_to_if_authorized l(:button_copy), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-copy' %>
<%= link_to_if_authorized l(:button_move), {:controller => 'projects', :action => 'move_issues', :id => @project, "issue_ids[]" => @issue.id }, :class => 'icon icon-move' %>
<%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
</div>