diff --git a/app/views/watchers/_watchers.html.erb b/app/views/watchers/_watchers.html.erb index 8e361ede6..4da8c0dd2 100644 --- a/app/views/watchers/_watchers.html.erb +++ b/app/views/watchers/_watchers.html.erb @@ -1,5 +1,5 @@
-<%= link_to_remote l(:button_add), +<%= link_to_remote l(:button_add), :url => {:controller => 'watchers', :action => 'new', :object_type => watched.class.name.underscore, @@ -9,7 +9,7 @@

<%= l(:label_issue_watchers) %> (<%= watched.watcher_users.size %>)

<% unless @watcher.nil? %> - <% remote_form_for(:watcher, @watcher, + <% remote_form_for(:watcher, @watcher, :url => {:controller => 'watchers', :action => 'new', :object_type => watched.class.name.underscore,