Method: Maily::ApplicationHelper#title
- Defined in:
- app/helpers/maily/application_helper.rb
#title ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'app/helpers/maily/application_helper.rb', line 3 def title _title = 'Maily' if params[:mailer] && params[:email] _title << " - #{params[:mailer].humanize} | #{params[:email].humanize}" end _title end |