Class: Konacha::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- Konacha::Engine
- Defined in:
- lib/konacha/engine.rb
Class Method Summary collapse
Class Method Details
.application(app) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/konacha/engine.rb', line 9 def self.application(app) Rack::Builder.app do use Rack::ShowExceptions map app.config.assets.prefix do run app.assets end map "/" do run Engine end end end |