diff options
author | elijah <elijah@riseup.net> | 2013-06-19 00:36:02 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-07-04 04:02:06 -0700 |
commit | 1dcec6ed912b075f5bdaa069bb5725b0ff06fe41 (patch) | |
tree | a555c731c8b470a07df1a58e05cacd8f72a63f7b /app/views | |
parent | e37d1b1d621530dbec7b5b3b7ed17c24a48a727b (diff) |
added html_title helper - use @title to set page title.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/application.html.haml | 2 |
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" |