Class: Locomotive::Steam::Middlewares::Renderer
- Inherits:
-
ThreadSafe
- Object
- ThreadSafe
- Locomotive::Steam::Middlewares::Renderer
- Includes:
- Helpers
- Defined in:
- lib/locomotive/steam/middlewares/renderer.rb
Instance Attribute Summary
Attributes inherited from ThreadSafe
Instance Method Summary collapse
Methods included from Helpers
#decorate_entry, #default_liquid_context, #default_locale, #html?, #json?, #live_editing?, #locale, #locales, #log, #make_local_path, #modify_path, #mounted_on, #page, #params, #path, #redirect_to, #render_response, #repositories, #request, #services, #site
Methods inherited from ThreadSafe
Instance Method Details
#_call ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/locomotive/steam/middlewares/renderer.rb', line 8 def _call if page render_page else render_missing_404 end end |