Class: Matcha::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/matcha/engine.rb

Class Method Summary collapse

Class Method Details

.application(app) ⇒ Object



5
6
7
8
9
10
11
12
13
# File 'lib/matcha/engine.rb', line 5

def self.application(app)
  Rack::Builder.app do
    map app.config.assets.prefix do
      run app.assets
    end

    run Matcha::Engine
  end
end