##// END OF EJS Templates
Merged r3865 and r3866 from trunk....
Merged r3865 and r3866 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3868 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r663:603e11d7a5aa
r3754:a84920ca7016 0.9-stable
Show More
024_add_roadmap_permission.rb
12 lines | 445 B | text/x-ruby | RubyLexer
/ db / migrate / 024_add_roadmap_permission.rb
Jean-Philippe Lang
added roadmap view...
r225 class AddRoadmapPermission < ActiveRecord::Migration
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 # model removed
class Permission < ActiveRecord::Base; end
Jean-Philippe Lang
added roadmap view...
r225 def self.up
Jean-Philippe Lang
mail notification removed for projects/roadmap in migration...
r237 Permission.create :controller => "projects", :action => "roadmap", :description => "label_roadmap", :sort => 107, :is_public => true, :mail_option => 0, :mail_enabled => 0
Jean-Philippe Lang
added roadmap view...
r225 end
def self.down
Permission.find(:first, :conditions => ["controller=? and action=?", 'projects', 'roadmap']).destroy
end
end