Skip to content

Commit

Permalink
Upgrade application loading, maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Jan 22, 2013
1 parent 47e7d51 commit 5926716
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions config/application.rb
Expand Up @@ -4,19 +4,13 @@
# require 'rails/all'
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "sprockets/railtie"

# We don't want test_unit or tasks like db:test:prepare, so we commented out
# require "rails/test_unit/railtie"

if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
Bundler.require *Rails.groups(:assets) if defined?(Bundler)

# If you want your assets lazily compiled in production, use this line
# Bundler.require(:default, :assets, Rails.env)
end
# Assets should be precompiled for production (so we don't need the gems loaded then)
Bundler.require(*Rails.groups(assets: %w(development test)))

module RstatUs
class Application < Rails::Application
Expand Down

0 comments on commit 5926716

Please sign in to comment.