mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Use named route.
git-svn-id: http://svn.redmine.org/redmine/trunk@15312 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5adc1ddde9
commit
9c2545e28d
@ -1,7 +1,7 @@
|
||||
<% if User.current.allowed_to?(:add_issue_watchers, watched.project) %>
|
||||
<div class="contextual">
|
||||
<%= link_to l(:button_add),
|
||||
{:controller => 'watchers', :action => 'new', :object_type => watched.class.name.underscore, :object_id => watched},
|
||||
new_watchers_path(:object_type => watched.class.name.underscore, :object_id => watched),
|
||||
:remote => true,
|
||||
:method => 'get' %>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user