@@ -1,9 +1,9 | |||
|
1 | 1 | class AddRoadmapPermission < ActiveRecord::Migration |
|
2 | 2 | def self.up |
|
3 |
Permission.create :controller => "projects", :action => "roadmap", :description => "label_roadmap", :sort => 107, :is_public => true, :mail_option => |
|
|
3 | Permission.create :controller => "projects", :action => "roadmap", :description => "label_roadmap", :sort => 107, :is_public => true, :mail_option => 0, :mail_enabled => 0 | |
|
4 | 4 | end |
|
5 | 5 | |
|
6 | 6 | def self.down |
|
7 | 7 | Permission.find(:first, :conditions => ["controller=? and action=?", 'projects', 'roadmap']).destroy |
|
8 | 8 | end |
|
9 | 9 | end |
General Comments 0
You need to be logged in to leave comments.
Login now