Sha256: 6b0d9d5b85b1f744e4f09b8c16abde0318f118afb8bb41fb0d208ced0dae746c

Contents?: true

Size: 236 Bytes

Versions: 9

Compression:

Stored size: 236 Bytes

Contents

module AutoError
  module ApplicationHelper
    def js_namespace
      h = {} # nothing needed, really
      javascript_tag "window.App = #{h.to_json.html_safe};"
    end

    def void_path
      'javascript:void(0);'
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
auto_error-0.0.9 app/helpers/auto_error/application_helper.rb
auto_error-0.0.8 app/helpers/auto_error/application_helper.rb
auto_error-0.0.7 app/helpers/auto_error/application_helper.rb
auto_error-0.0.6 app/helpers/auto_error/application_helper.rb
auto_error-0.0.5 app/helpers/auto_error/application_helper.rb
auto_error-0.0.4 app/helpers/auto_error/application_helper.rb
auto_error-0.0.3 app/helpers/auto_error/application_helper.rb
auto_error-0.0.2 app/helpers/auto_error/application_helper.rb
auto_error-0.0.1 app/helpers/auto_error/application_helper.rb