Class: Mails::ApplicationController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/mails/application_controller.rb

Direct Known Subclasses

MessagesController

Instance Method Summary collapse

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_userObject



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 set_seo_meta(title = '', meta_keywords = '', meta_description = '')
  @page_title = "#{title}" if title.length > 0
  @meta_keywords = meta_keywords
  @meta_description = meta_description
end