Module: Jabe::ApplicationHelper
Instance Method Summary
collapse
included, #public_entry_url
Instance Method Details
#default_gravatar_url ⇒ Object
5
6
7
|
# File 'app/helpers/jabe/application_helper.rb', line 5
def default_gravatar_url
"#{request.protocol}#{request.host_with_port}#{asset_path('jabe/gravatar.gif')}"
end
|
#javascript(name) ⇒ Object
19
20
21
22
23
|
# File 'app/helpers/jabe/application_helper.rb', line 19
def javascript(name)
content_for :javascripts do
javascript_include_tag(name)
end
end
|
#page_title(title) ⇒ Object
9
10
11
|
# File 'app/helpers/jabe/application_helper.rb', line 9
def page_title(title)
@page_title = title
end
|
#stylesheet(name) ⇒ Object
13
14
15
16
17
|
# File 'app/helpers/jabe/application_helper.rb', line 13
def stylesheet(name)
content_for :stylesheets do
stylesheet_link_tag(name)
end
end
|