Class: Recourse::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- Recourse::Engine
- Defined in:
- lib/recourse/engine.rb
Overview
Hooks the gem into a host app's boot so its controllers and views are found.
Constant Summary collapse
- STATIC_URLS =
Prefix the gem answers for with a file.
Rack::Staticmatches onstart_with?, so dropping the slash would swallow/recoursesitself. %w[/recourse/].freeze