Sha256: bc8fbde8835028c0dd60af5700657e6699ec54580ef07d7f8d86d3c844432c28

Contents?: true

Size: 274 Bytes

Versions: 3

Compression:

Stored size: 274 Bytes

Contents

# frozen_string_literal: true
module Europeana
  module FeedbackButton
    ##
    # Methods used by feedback controller and views
    module FeedbackHelper
      def feedback_enabled?
        Rails.application.config.x.feedback_mail_to.present?
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
europeana-feedback-button-0.0.4 app/helpers/europeana/feedback_button/feedback_helper.rb
europeana-feedback-button-0.0.3 app/helpers/europeana/feedback_button/feedback_helper.rb
europeana-feedback-button-0.0.2 app/helpers/europeana/feedback_button/feedback_helper.rb