Sha256: 6eb6733542049d129b07ce38452737b7f55b5f0447d383136dc706e3716ab063

Contents?: true

Size: 585 Bytes

Versions: 1

Compression:

Stored size: 585 Bytes

Contents

module PageflowScrolled
  # @api private
  class EntriesController < ActionController::Base
    include Pageflow::EntriesControllerEnvHelper

    helper Pageflow::EntriesHelper
    helper Pageflow::FeedsHelper
    helper Pageflow::WidgetsHelper
    helper Pageflow::SocialShareHelper
    helper Pageflow::MetaTagsHelper
    helper Pageflow::StructuredDataHelper
    helper Pageflow::TextDirectionHelper
    helper FaviconHelper

    def show
      @entry = get_published_entry_from_env
      @widget_scope = get_entry_mode_from_env

      I18n.locale = @entry.locale
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pageflow-16.1.0 entry_types/scrolled/app/controllers/pageflow_scrolled/entries_controller.rb