Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
Fix page title on sign in page
Browse files Browse the repository at this point in the history
  • Loading branch information
drewreeve committed Jun 8, 2012
1 parent bee5d1b commit 9f7b9d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/user_session.rb
Expand Up @@ -4,7 +4,7 @@ class UserSessionApp < Base
set :views, ["views/user_session"]

get '/new' do
@title = "Sign In"
@page_title = "Sign In"
erb :login
end

Expand All @@ -31,4 +31,4 @@ class UserSessionApp < Base
end

end
end
end
4 changes: 2 additions & 2 deletions views/user_session/layout.erb
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<title><%= page_title %></title>
<title><%= page_title(@page_title, @settings.site_name) %></title>
<link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
Expand All @@ -23,4 +23,4 @@
<script src="/js/jquery-1.7.1.min.js"></script>
<script src="/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>
</html>

0 comments on commit 9f7b9d4

Please sign in to comment.