Class: Mails::ApplicationController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Mails::ApplicationController
- Defined in:
- app/controllers/mails/application_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
- #authenticate_user! ⇒ Object
- #current_user ⇒ Object
- #set_seo_meta(title = '', meta_keywords = '', meta_description = '') ⇒ Object
Instance Method Details
#authenticate_user! ⇒ Object
12 13 14 |
# File 'app/controllers/mails/application_controller.rb', line 12 def authenticate_user! origin_authenticate_user! end |
#current_user ⇒ Object
8 9 10 |
# File 'app/controllers/mails/application_controller.rb', line 8 def current_user origin_current_user end |
#set_seo_meta(title = '', meta_keywords = '', meta_description = '') ⇒ Object
16 17 18 19 20 |
# File 'app/controllers/mails/application_controller.rb', line 16 def (title = '', = '', = '') @page_title = "#{title}" if title.length > 0 @meta_keywords = @meta_description = end |