diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-02-09 11:54:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-02-09 11:54:21 +0000 |
commit | 1ad33134d3005af9a1c8357a55e8c6ab9332d4fa (patch) | |
tree | d964e26f55acaa8791ab15776de735fc3cfc682b /app/models/enabled_module.rb | |
parent | fa31229a2338706455dd754fd57e7f7e8ebf26a7 (diff) | |
download | redmine-1ad33134d3005af9a1c8357a55e8c6ab9332d4fa.tar.gz redmine-1ad33134d3005af9a1c8357a55e8c6ab9332d4fa.zip |
Enable the watching of news (#2549).
git-svn-id: http://svn.redmine.org/redmine/trunk@12866 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/enabled_module.rb')
-rw-r--r-- | app/models/enabled_module.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/enabled_module.rb b/app/models/enabled_module.rb index 91a750ec8..1cc84aaa5 100644 --- a/app/models/enabled_module.rb +++ b/app/models/enabled_module.rb @@ -17,6 +17,7 @@ class EnabledModule < ActiveRecord::Base belongs_to :project + acts_as_watchable validates_presence_of :name validates_uniqueness_of :name, :scope => :project_id |