Module: Europeana::FeedbackButton::FeedbackableView
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/views/concerns/europeana/feedback_button/feedbackable_view.rb
Overview
Feedback form display methods
Instance Method Summary collapse
Instance Method Details
#feedback ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'app/views/concerns/europeana/feedback_button/feedbackable_view.rb', line 9 def feedback return nil unless Europeana::FeedbackButton.enabled? { form_action: .feedback_path, maxlength: Europeana::FeedbackButton::Feedback::MAX_LENGTH, minwords: Europeana::FeedbackButton::Feedback::MIN_WORDS, privacy_policy_url: Europeana::FeedbackButton.privacy_policy_url } end |