Sha256: f09f90a2c357be77d0812131ea810cb78901e43f68d7d86db599972231579cd8

Contents?: true

Size: 604 Bytes

Versions: 7

Compression:

Stored size: 604 Bytes

Contents

# frozen_string_literal: true

require "pakyow/support/extension"
require "pakyow/support/path_version"

module Pakyow
  class Application
    module Config
      module Presenter
        extend Support::Extension

        apply_extension do
          configurable :presenter do
            setting :path do
              File.join(config.root, "frontend")
            end

            setting :embed_authenticity_token, true
            setting :version

            configurable :features do
              setting :streaming, false
            end
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pakyow-presenter-1.0.6 lib/pakyow/application/config/presenter.rb
pakyow-presenter-1.0.5 lib/pakyow/application/config/presenter.rb
pakyow-presenter-1.0.4 lib/pakyow/application/config/presenter.rb
pakyow-presenter-1.0.3 lib/pakyow/application/config/presenter.rb
pakyow-presenter-1.0.2 lib/pakyow/application/config/presenter.rb
pakyow-presenter-1.0.1 lib/pakyow/application/config/presenter.rb
pakyow-presenter-1.0.0 lib/pakyow/application/config/presenter.rb