##// END OF EJS Templates
mail notification removed for projects/roadmap in migration...
Jean-Philippe Lang -
r237:9845bbddced2
parent child
Show More
@@ -1,9 +1,9
1 class AddRoadmapPermission < ActiveRecord::Migration
1 class AddRoadmapPermission < ActiveRecord::Migration
2 def self.up
2 def self.up
3 Permission.create :controller => "projects", :action => "roadmap", :description => "label_roadmap", :sort => 107, :is_public => true, :mail_option => 1, :mail_enabled => 0
3 Permission.create :controller => "projects", :action => "roadmap", :description => "label_roadmap", :sort => 107, :is_public => true, :mail_option => 0, :mail_enabled => 0
4 end
4 end
5
5
6 def self.down
6 def self.down
7 Permission.find(:first, :conditions => ["controller=? and action=?", 'projects', 'roadmap']).destroy
7 Permission.find(:first, :conditions => ["controller=? and action=?", 'projects', 'roadmap']).destroy
8 end
8 end
9 end
9 end
General Comments 0
You need to be logged in to leave comments. Login now