Sha256: 5f7eb6a16907f2932ddcb19be9e81df2136b6db5520d02600c48fbf86f61835c

Contents?: true

Size: 642 Bytes

Versions: 20

Compression:

Stored size: 642 Bytes

Contents

module PageflowPaged
  # @api private
  class EntriesController < PageflowPaged::ApplicationController
    include Pageflow::EntriesControllerEnvHelper
    include WithoutControllerNamespacePartialPathPrefix

    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

20 entries across 20 versions & 1 rubygems

Version Path
pageflow-16.0.0 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.8.0 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.7.1 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.7.0 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.6.1 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.6.0 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.5.0 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.4.0 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.3.0 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.2.2 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.2.1 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.2.0 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.1.2 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.1.1 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.1.0 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.1.0.rc0 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.1.0.beta6 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.1.0.beta5 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.1.0.beta4 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb
pageflow-15.1.0.beta3 entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb