##// END OF EJS Templates
Overdue versions (date reached and open issues > 0) are now always displayed on the roadmap....
Overdue versions (date reached and open issues > 0) are now always displayed on the roadmap. git-svn-id: http://redmine.rubyforge.org/svn/trunk@604 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r65:96f83cc8f0f0
r601:3c8e7c79b639
Show More
004_export_pdf.rb
11 lines | 681 B | text/x-ruby | RubyLexer
class ExportPdf < ActiveRecord::Migration
def self.up
Permission.create :controller => "projects", :action => "export_issues_pdf", :description => "label_export_pdf", :sort => 1002, :is_public => true, :mail_option => 0, :mail_enabled => 0
Permission.create :controller => "issues", :action => "export_pdf", :description => "label_export_pdf", :sort => 1015, :is_public => true, :mail_option => 0, :mail_enabled => 0
end
def self.down
Permission.find(:first, :conditions => ["controller=? and action=?", 'projects', 'export_issues_pdf']).destroy
Permission.find(:first, :conditions => ["controller=? and action=?", 'issues', 'export_pdf']).destroy
end
end