diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-15 23:11:05 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-15 23:11:05 +0000 |
commit | c8177b99ed3b917ecb2d36bec023229459588d34 (patch) | |
tree | 1536bcca1d6f8e8891c5e7faa25ffb84d6f04941 /app/views | |
parent | 5823a71c1851a331a8a28c1255809efe4386fe0d (diff) | |
download | redmine-c8177b99ed3b917ecb2d36bec023229459588d34.tar.gz redmine-c8177b99ed3b917ecb2d36bec023229459588d34.zip |
Revert part of r3936.
link_to_if_authorized no longer supports paths for the link options.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4258 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/issues/_action_menu.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/_action_menu.rhtml b/app/views/issues/_action_menu.rhtml index 8a24ac853..3f4d89e2c 100644 --- a/app/views/issues/_action_menu.rhtml +++ b/app/views/issues/_action_menu.rhtml @@ -4,7 +4,7 @@ <% replace_watcher ||= 'watcher' %> <%= watcher_tag(@issue, User.current, {:id => replace_watcher, :replace => ['watcher','watcher2']}) %> <%= link_to_if_authorized l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-duplicate' %> -<%= link_to_if_authorized l(:button_copy), new_issue_move_path(:id => @issue, :copy_options => {:copy => 't'}), :class => 'icon icon-copy' %> -<%= link_to_if_authorized l(:button_move), new_issue_move_path(:id => @issue), :class => 'icon icon-move' %> +<%= link_to_if_authorized l(:button_copy), {:controller => 'issue_moves', :action => 'new', :id => @issue, :copy_options => {:copy => 't'}}, :class => 'icon icon-copy' %> +<%= link_to_if_authorized l(:button_move), {:controller => 'issue_moves', :action => 'new', :id => @issue}, :class => 'icon icon-move' %> <%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => (@issue.leaf? ? l(:text_are_you_sure) : l(:text_are_you_sure_with_children)), :method => :post, :class => 'icon icon-del' %> </div> |