Class: Maglev::PublishedPagePreviewController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Maglev::PublishedPagePreviewController
- Includes:
- ContentLocaleConcern, RenderingConcern
- Defined in:
- app/controllers/maglev/published_page_preview_controller.rb
Instance Method Summary collapse
Methods included from ResourceIdConcern
Instance Method Details
#index ⇒ Object
15 16 17 18 19 20 21 |
# File 'app/controllers/maglev/published_page_preview_controller.rb', line 15 def index # use the title + SEO informations from the published payload # Warning: the page may not exist even in draft maglev_page&.apply_published_payload render_maglev_page end |