|
@@ -1,12 +1,13 @@ |
|
|
require File.expand_path('../boot', __FILE__) |
|
|
require File.expand_path('../boot', __FILE__) |
|
|
|
|
|
|
|
|
# Pick the frameworks you want: |
|
|
# Pick the frameworks you want: |
|
|
|
|
|
require 'rails/all' |
|
|
# require "active_record/railtie" |
|
|
# 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 defined?(Bundler) |
|
|
# If you precompile assets before deploying to production, use this line |
|
|
# If you precompile assets before deploying to production, use this line |
|
@@ -72,7 +73,6 @@ module Apollo |
|
|
config.generators do |g| |
|
|
config.generators do |g| |
|
|
g.template_engine :haml |
|
|
g.template_engine :haml |
|
|
end |
|
|
end |
|
|
MongoMapper::Document.plugin(MongoMapper::Plugins::MultiParameterAttributes) |
|
|
|
|
|
# Time.zone = 'London' |
|
|
# Time.zone = 'London' |
|
|
end |
|
|
end |
|
|
end |
|
|
end |