diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-12-22 19:21:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-12-22 19:21:02 +0000 |
commit | 1f89dad23aab9a4736e05d66ae468c0253ab9255 (patch) | |
tree | 0ceb6e0568d883ebcb21b78d1df62a053a3137bc /vendor | |
parent | 3de4a1d788e3ad9f1fd888725449634fb9333dd2 (diff) | |
download | redmine-1f89dad23aab9a4736e05d66ae468c0253ab9255.tar.gz redmine-1f89dad23aab9a4736e05d66ae468c0253ab9255.zip |
Adds watchers selection on new issue form (#398). Permission 'add issue watchers' required.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2164 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb b/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb index 2cb122795..3d0de0dca 100644 --- a/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb +++ b/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb @@ -14,6 +14,8 @@ module Redmine class_eval do has_many :watchers, :as => :watchable, :dependent => :delete_all has_many :watcher_users, :through => :watchers, :source => :user + + attr_protected :watcher_ids, :watcher_user_ids end end end |