require File.expand_path('../boot', __FILE__)

require 'action_controller/railtie'
require 'action_mailer/railtie'
require 'sprockets/railtie'
require 'rails/test_unit/railtie'

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
require 'light_resizer'

module Dummy
  class Application < Rails::Application

    config.middleware.insert_before(Rack::Sendfile, LightResizer::Middleware, Rails.root)

  end
end