Class: Locomotive::Steam::Middlewares::Path
- Inherits:
-
Object
- Object
- Locomotive::Steam::Middlewares::Path
- Defined in:
- lib/locomotive/steam/middlewares/path.rb
Overview
Sanitize the path from the previous middleware in order to make it work for the renderer.
Instance Method Summary collapse
Instance Method Details
#call(env) ⇒ Object
11 12 13 14 |
# File 'lib/locomotive/steam/middlewares/path.rb', line 11 def call(env) set_path!(env) app.call(env) end |