|
@@ -15,7 +15,6 @@ if defined?(Bundler) |
|
|
# Bundler.require(:default, :assets, Rails.env) |
|
|
# Bundler.require(:default, :assets, Rails.env) |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
module Apollo |
|
|
module Apollo |
|
|
class Application < Rails::Application |
|
|
class Application < Rails::Application |
|
|
config.action_mailer.default_url_options = { :host => ENV['APOLLO_HOSTNAME'] } |
|
|
config.action_mailer.default_url_options = { :host => ENV['APOLLO_HOSTNAME'] } |
|
@@ -72,9 +71,7 @@ module Apollo |
|
|
# http://mongomapper.com/documentation/getting-started/rails.html |
|
|
# http://mongomapper.com/documentation/getting-started/rails.html |
|
|
config.generators do |g| |
|
|
config.generators do |g| |
|
|
g.template_engine :haml |
|
|
g.template_engine :haml |
|
|
g.orm :mongo_mapper |
|
|
|
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
MongoMapper::Document.plugin(MongoMapper::Plugins::MultiParameterAttributes) |
|
|
MongoMapper::Document.plugin(MongoMapper::Plugins::MultiParameterAttributes) |
|
|
# Time.zone = 'London' |
|
|
# Time.zone = 'London' |
|
|
end |
|
|
end |
|
|