Sha256: f6c269426d335fcaca07934adddac334f50380bf4f0d82c3222553493e653534

Contents?: true

Size: 333 Bytes

Versions: 7

Compression:

Stored size: 333 Bytes

Contents

require 'fozzie/rails/engine'

class FozzieRailtie < Rails::Railtie
  initializer "fozzie_railtie.configure_rails_initialization" do |app|

    # Load up the middleware
    app.middleware.use Fozzie::Rails::Middleware

    # Add the Mill route
    app.routes.prepend do
      mount Fozzie::Rails::Engine => '/mill'
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fozzie-0.0.27 lib/fozzie/railtie.rb
fozzie-0.0.26 lib/fozzie/railtie.rb
fozzie-0.0.25 lib/fozzie/railtie.rb
fozzie-0.0.24 lib/fozzie/railtie.rb
fozzie-0.0.23 lib/fozzie/railtie.rb
fozzie-0.0.22 lib/fozzie/railtie.rb
fozzie-0.0.21 lib/fozzie/railtie.rb