瀏覽代碼

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

Loading…
取消
儲存