diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-05-25 11:55:32 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-05-25 11:55:32 +0100 |
commit | 8a4a8feb9cfe0a77195943124112f0d284a7f9cd (patch) | |
tree | 44f9d1c9fc91eb9c9eac737a6da9c5e5cadddab1 /app/helpers/application_helper.rb | |
parent | acde8a57e087d3058b8539e04c12e790866f8451 (diff) |
Factor out `contact_from_name_and_email` so it can be used from anywhere in the app.
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 0520a8c77..df016a249 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -17,6 +17,9 @@ module ApplicationHelper # Site-wide access to configuration settings include ConfigHelper + # Useful for sending emails + include MailerHelper + # Copied from error_messages_for in active_record_helper.rb def foi_error_messages_for(*params) options = params.last.is_a?(Hash) ? params.pop.symbolize_keys : {} |