summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-06-19 00:36:02 -0700
committerelijah <elijah@riseup.net>2013-06-19 00:36:02 -0700
commit1185eea8c3f8cbd6450c3f5317235d0f07b911ae (patch)
treedb0edff9db93e2206f29f75df944e28aa3399e7e /app/views/layouts
parent0e9818a80f7ca4afb35d4738f9721bc4753d2762 (diff)
added html_title helper - use @title to set page title.
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/application.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 719d699..71364fc 100644
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -2,7 +2,7 @@
%html
%head
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
- %title= content_for?(:title) ? yield(:title) : "Leap Web"
+ %title= html_title
%meta{:content => content_for?(:description) ? yield(:description) : "Leap Web", :name => "description"}
= stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application"