Sha256: 86cb5f8fb18ceca9c2016788309c0a6173fcd7af2660317d4e6caf967cbd35ca
Contents?: true
Size: 382 Bytes
Versions: 2
Compression:
Stored size: 382 Bytes
Contents
require_dependency 'landable/application_controller' module Landable module Public module Preview class PageRevisionsController < ApplicationController respond_to :html def show revision = PageRevision.find params[:id] respond_with revision.snapshot, responder: Landable::PageRenderResponder 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/page_revisions_controller.rb |
landable-1.13.2 | app/controllers/landable/public/preview/page_revisions_controller.rb |