##// END OF EJS Templates
Added an administration setting to allow issue start date to be defaulted to blank (nil) at issue creation (#2269)....
Added an administration setting to allow issue start date to be defaulted to blank (nil) at issue creation (#2269). Based on the patch of #2277 contributed by Mischa The Evil. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7733 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r663:603e11d7a5aa
r7613:269014ced887
Show More
049_add_wiki_destroy_page_permission.rb
12 lines | 418 B | text/x-ruby | RubyLexer
/ db / migrate / 049_add_wiki_destroy_page_permission.rb
Jean-Philippe Lang
Added the ability to destroy wiki pages (content and its history are deleted from the database)....
r537 class AddWikiDestroyPagePermission < ActiveRecord::Migration
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 # model removed
class Permission < ActiveRecord::Base; end
Jean-Philippe Lang
Added the ability to destroy wiki pages (content and its history are deleted from the database)....
r537 def self.up
Permission.create :controller => 'wiki', :action => 'destroy', :description => 'button_delete', :sort => 1740, :is_public => false, :mail_option => 0, :mail_enabled => 0
end
def self.down
Permission.find_by_controller_and_action('wiki', 'destroy').destroy
end
end