##// END OF EJS Templates
Fixed that 200 API responses have a body containing one space (#11388)....
Fixed that 200 API responses have a body containing one space (#11388). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9975 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r663:603e11d7a5aa
r9792:18f693f9f7c1
Show More
014_add_queries_permissions.rb
12 lines | 451 B | text/x-ruby | RubyLexer
/ db / migrate / 014_add_queries_permissions.rb
class AddQueriesPermissions < ActiveRecord::Migration
# model removed
class Permission < ActiveRecord::Base; end
def self.up
Permission.create :controller => "projects", :action => "add_query", :description => "button_create", :sort => 600, :is_public => false, :mail_option => 0, :mail_enabled => 0
end
def self.down
Permission.find(:first, :conditions => ["controller=? and action=?", 'projects', 'add_query']).destroy
end
end