Sha256: 3a21e4248e070f47d219c66d70f5b1684f6fce9950e6d24a4a71e216cac83497

Contents?: true

Size: 280 Bytes

Versions: 9

Compression:

Stored size: 280 Bytes

Contents

module WatCatcher
  module Helper
    def javascript_wat_catcher
      javascript_include_tag "wat_catcher",
                             "data-route" => wat_catcher.wats_path,
                             "data-app_name" => ::Rails.application.class.parent_name
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wat_catcher-0.5.3 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.5.2 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.5.1 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.5.0 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.4.1 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.4.0 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.3.2 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.3.1 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.3.0 lib/wat_catcher/wattle_helper.rb