Sha256: 9f5b9e30ceb2264206b3248f288fa1934b3cb0a9a3e6da82c685e4eddc4fcee9

Contents?: true

Size: 287 Bytes

Versions: 7

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true

module AmaLayoutPartialHelper
  def ama_layout_partial(partial)
    "ama_layout/#{ama_layout_partial_version}/#{partial}"
  end

  def ama_layout_partial_version
    @ama_layout_partial_version ||= Rails.configuration.stylesheet_resolver.version
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ama_layout-11.5.1 app/helpers/ama_layout_partial_helper.rb
ama_layout-11.5.0 app/helpers/ama_layout_partial_helper.rb
ama_layout-11.4.0 app/helpers/ama_layout_partial_helper.rb
ama_layout-11.3.1 app/helpers/ama_layout_partial_helper.rb
ama_layout-11.3.0 app/helpers/ama_layout_partial_helper.rb
ama_layout-11.2.0 app/helpers/ama_layout_partial_helper.rb
ama_layout-11.1.0 app/helpers/ama_layout_partial_helper.rb