Sha256: 783855b178484a4e127348b248d91236823166295b3476f6233894460ecd73b8
Contents?: true
Size: 364 Bytes
Versions: 2
Compression:
Stored size: 364 Bytes
Contents
require_dependency 'landable/application_controller' module Landable module Public module Preview class PagesController < ApplicationController respond_to :html def show page = Page.find params[:id] respond_with page, responder: Landable::PageRenderResponder, preview: true end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
landable-1.14.0 | app/controllers/landable/public/preview/pages_controller.rb |
landable-1.13.2 | app/controllers/landable/public/preview/pages_controller.rb |