Sha256: 556ce9e10a3cd0f7b9bdb9c75c48ee2b39c67af97e6fdb8e6a393580c1d62363
Contents?: true
Size: 675 Bytes
Versions: 1
Compression:
Stored size: 675 Bytes
Contents
module PageflowPaged # @api private class EntriesController < PageflowPaged::ApplicationController include Pageflow::EntriesControllerEnvHelper include WithoutControllerNamespacePartialPathPrefix helper Pageflow::FeedsHelper helper Pageflow::MetaTagsHelper helper Pageflow::StructuredDataHelper helper Pageflow::PublicI18nHelper def show @entry = get_published_entry_from_env @widget_scope = get_entry_mode_from_env I18n.locale = @entry.locale @entry.share_target = if params[:page].present? @entry.pages.find_by_perma_id(params[:page]) else @entry end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pageflow-16.1.0 | entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb |