Sha256: d11b15522c3a131be5e4ea5a3ae3458c9a6264d91b4eb789ee9ba1f14d108397

Contents?: true

Size: 241 Bytes

Versions: 5

Compression:

Stored size: 241 Bytes

Contents

require 'sprockets/asset'

module Sprockets
  class Asset

    def digest_path_with_aloha
      return logical_path if logical_path =~ /^aloha\//
      digest_path_without_aloha
    end

    alias_method_chain :digest_path, :aloha
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
locomotive-aloha-rails-0.20.1.4 lib/aloha/rails/sprockets_monkeypatch.rb
locomotive-aloha-rails-0.20.1.3 lib/aloha/rails/sprockets_monkeypatch.rb
locomotive-aloha-rails-0.20.1.2 lib/aloha/rails/sprockets_monkeypatch.rb
locomotive-aloha-rails-0.20.1.1 lib/aloha/rails/sprockets_monkeypatch.rb
locomotive-aloha-rails-0.20.1 lib/aloha/rails/sprockets_monkeypatch.rb