Module: Europeana::FeedbackButton::FeedbackHelper

Included in:
FeedbackController, FeedbackMailer, FeedbackableView
Defined in:
app/helpers/europeana/feedback_button/feedback_helper.rb

Overview

Methods used by feedback controller and views

Instance Method Summary collapse

Instance Method Details

#feedback_enabled?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'app/helpers/europeana/feedback_button/feedback_helper.rb', line 7

def feedback_enabled?
  Rails.application.config.x.feedback_mail_to.present?
end