Sha256: 133a9f68b8248812886e9abd098f380aeef336fc407afaf52095b7f1b2972e01

Contents?: true

Size: 390 Bytes

Versions: 3

Compression:

Stored size: 390 Bytes

Contents

module WatCatcher
  module Helper
    def javascript_wat_catcher
      javascript_include_tag "wat_catcher",
                             data: {
                              route: wat_catcher.wats_path,
                              app_name: ::Rails.application.class.parent_name,
                              app_user: wat_user.as_json
                             }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wat_catcher-0.6.0 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.5.5 lib/wat_catcher/wattle_helper.rb
wat_catcher-0.5.4 lib/wat_catcher/wattle_helper.rb