Browse Source

Remove mongo ORM config

master
Adrian Short 12 years ago
parent
commit
9c6819ad01
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      config/application.rb

+ 0
- 3
config/application.rb View File

@@ -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


Loading…
Cancel
Save