浏览代码

Activate all rails frameworks

master
Adrian Short 12 年前
父节点
当前提交
8dcb0ecbf4
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. +6
    -6
      config/application.rb

+ 6
- 6
config/application.rb 查看文件

@@ -1,12 +1,13 @@
require File.expand_path('../boot', __FILE__)

# Pick the frameworks you want:
require 'rails/all'
# require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "sprockets/railtie"
require "rails/test_unit/railtie"
# require "action_controller/railtie"
# require "action_mailer/railtie"
# require "active_resource/railtie"
# require "sprockets/railtie"
# require "rails/test_unit/railtie"

if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
@@ -72,7 +73,6 @@ module Apollo
config.generators do |g|
g.template_engine :haml
end
MongoMapper::Document.plugin(MongoMapper::Plugins::MultiParameterAttributes)
# Time.zone = 'London'
end
end

正在加载...
取消
保存