Class: Finexclub::Images::Middleware

Inherits:
Dragonfly::Middleware
  • Object
show all
Defined in:
lib/finexclub/images.rb

Instance Method Summary collapse

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