Class: Finexclub::Images::Middleware
- Inherits:
-
Dragonfly::Middleware
- Object
- Dragonfly::Middleware
- Finexclub::Images::Middleware
- Defined in:
- lib/finexclub/images.rb
Instance Method Summary collapse
-
#initialize(app) ⇒ Middleware
constructor
A new instance of Middleware.
Constructor Details
#initialize(app) ⇒ Middleware
Returns a new instance of Middleware.
32 33 34 35 |
# File 'lib/finexclub/images.rb', line 32 def initialize(app) path_prefix = Dragonfly[:images].url_path_prefix super(app, :images, path_prefix) end |