##// END OF EJS Templates
tagged version 0.5.1...
tagged version 0.5.1 git-svn-id: http://redmine.rubyforge.org/svn/tags/0.5.1@605 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r65:96f83cc8f0f0
r602:366d46c7012e 0.5.1
Show More
003_issue_add_note.rb
9 lines | 353 B | text/x-ruby | RubyLexer
/ db / migrate / 003_issue_add_note.rb
class IssueAddNote < ActiveRecord::Migration
def self.up
Permission.create :controller => "issues", :action => "add_note", :description => "label_add_note", :sort => 1057, :mail_option => 1, :mail_enabled => 0
end
def self.down
Permission.find(:first, :conditions => ["controller=? and action=?", 'issues', 'add_note']).destroy
end
end