Class: Caffeinate::Webui::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Caffeinate::Webui::ApplicationController
show all
- Defined in:
- app/controllers/caffeinate/webui/application_controller.rb
Instance Method Summary
collapse
Instance Method Details
#page_title ⇒ Object
7
8
9
10
11
12
13
|
# File 'app/controllers/caffeinate/webui/application_controller.rb', line 7
def page_title
if @page_title
"#{@page_title} - Caffeinate"
else
"Caffeinate"
end
end
|
#set_page_title(val) ⇒ Object
15
16
17
|
# File 'app/controllers/caffeinate/webui/application_controller.rb', line 15
def set_page_title(val)
@page_title = val
end
|