summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-24 12:57:28 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-24 12:57:28 +0000
commitfae5250e52506356965a478518aa7960ada3ec61 (patch)
tree91db93da34e2437bd9b0e9017fb7dd38eb275b30 /config
parente2bb8721d9e0b41094f7a7c768951235492dc3e4 (diff)
downloadredmine-fae5250e52506356965a478518aa7960ada3ec61.tar.gz
redmine-fae5250e52506356965a478518aa7960ada3ec61.zip
Ability to add non-member watchers on issue creation (#5159).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9254 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml1
-rw-r--r--config/routes.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 21e12ba17..6180a860e 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -844,6 +844,7 @@ en:
label_copy_attachments: Copy attachments
label_item_position: "%{position} of %{count}"
label_completed_versions: Completed versions
+ label_search_for_watchers: Search for watchers to add
button_login: Login
button_submit: Submit
diff --git a/config/routes.rb b/config/routes.rb
index 3e98e9043..25a7ca59b 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -124,6 +124,8 @@ ActionController::Routing::Routes.draw do |map|
:conditions => {:method => :get}
map.connect 'watchers', :controller=> 'watchers', :action => 'create',
:conditions => {:method => :post}
+ map.connect 'watchers/append', :controller=> 'watchers', :action => 'append',
+ :conditions => {:method => :post}
map.connect 'watchers/destroy', :controller=> 'watchers', :action => 'destroy',
:conditions => {:method => :post}
map.connect 'watchers/watch', :controller=> 'watchers', :action => 'watch',