Show More
Commit Description:
added option for Apapche X-Sendfile...
Commit Description:
added option for Apapche X-Sendfile
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@370 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
db/migrate/20081214185157_add_admin_email_to_config.rb
| 11 lines
| 322 B
| text/x-ruby
| RubyLexer
|
|
r162 | class AddAdminEmailToConfig < ActiveRecord::Migration | ||
def self.up | ||||
Configuration.create(:key => 'system.admin_email', | ||||
:value_type => 'string', | ||||
:value => 'admin@admin.email') | ||||
end | ||||
def self.down | ||||
Configuration.find_by_key('system.admin_email').destroy | ||||
end | ||||
end | ||||