Permalink
Browse files

Bring title back

  • Loading branch information...
1 parent a18e348 commit 27051891c9077ca5b18510c8e3ac36334d2c5850 @andmej committed Oct 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/layouts/application.html.erb
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <title><%= h(yield(:title) || "Andrés Mejía - Fantastic Ruby on Rails developer") %></title>
+ <title><%= content_for?(:title) ? yield(:title) : "Andrés Mejía - Fantastic Ruby on Rails developer" %></title>
<%= stylesheet_link_tag 'application' %>
<%= stylesheet_link_tag 'coderay' %>
<%= stylesheet_link_tag 'http://fonts.googleapis.com/css?family=Droid+Sans' %>

0 comments on commit 2705189

Please sign in to comment.