Sha256: b25747bc3dec37c566db3b1b43e167e738e9be0df25076f0c19ed0c133d8ffce

Contents?: true

Size: 299 Bytes

Versions: 3

Compression:

Stored size: 299 Bytes

Contents

module ApplicationHelper

  def slack_chat?
    Configurable[:use_helpdesk_chat] and (current_user or Configurable[:anonymous_helpdesk_chat])
  end

  def google_analytics_id
    Rails.application.secrets.google_analytics_id
  end

  def hotjar_id
    Rails.application.secrets.hotjar_id
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gorg_engine-1.2.4 app/helpers/application_helper.rb
gorg_engine-1.2.3 app/helpers/application_helper.rb
gorg_engine-1.2.0 app/helpers/application_helper.rb