app/controllers/concerns/maglev/rendering_concern.rb in maglevcms-1.2.2 vs app/controllers/concerns/maglev/rendering_concern.rb in maglevcms-1.3.0
- old
+ new
@@ -9,11 +9,9 @@
end
private
def render_maglev_page
- raise ActionController::UnknownFormat, 'Maglev renders HTML pages only' if request.format != 'html'
-
fetch_maglev_page_content
verify_canonical_path and return
render template: fetch_maglev_theme_layout, layout: false