Sha256: fab7c75b306c12c0e02a0d2f2243e2cc344eb59e3af6a7a8356d4e2180df1619

Contents?: true

Size: 269 Bytes

Versions: 5

Compression:

Stored size: 269 Bytes

Contents

module StaticMatic
  module Helpers
    module AssetTagHelper
      def compute_public_path(source, dir, ext = nil, include_host = true)
        path = "#{@relative_path_to_root}#{dir}/#{source}"
        path << ".#{ext}" if ext
        path
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tdreyno-staticmatic-2.1.0 lib/staticmatic/helpers/asset_tag_helper.rb
tdreyno-staticmatic-2.1.1 lib/staticmatic/helpers/asset_tag_helper.rb
tdreyno-staticmatic-2.1.3 lib/staticmatic/helpers/asset_tag_helper.rb
tdreyno-staticmatic-2.1.4 lib/staticmatic/helpers/asset_tag_helper.rb
tdreyno-staticmatic-2.9.0 lib/staticmatic/helpers/asset_tag_helper.rb