Class: Recourse::Engine

Inherits:
Rails::Engine
  • Object
show all
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::Static matches on start_with?, so dropping the slash would swallow /recourses itself.

%w[/recourse/].freeze