diff options
Diffstat (limited to 'app/views/watchers/_new.html.erb')
-rw-r--r-- | app/views/watchers/_new.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/watchers/_new.html.erb b/app/views/watchers/_new.html.erb index c2c133ee7..4220776f3 100644 --- a/app/views/watchers/_new.html.erb +++ b/app/views/watchers/_new.html.erb @@ -1,6 +1,6 @@ <h3 class="title"><%= l(:permission_add_issue_watchers) %></h3> -<% form_remote_tag :url => {:controller => 'watchers', +<%= form_remote_tag :url => {:controller => 'watchers', :action => (watched ? 'create' : 'append'), :object_type => watched.class.name.underscore, :object_id => watched}, |