Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bring title back

  • Loading branch information...
commit 27051891c9077ca5b18510c8e3ac36334d2c5850 1 parent a18e348
@andmej authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/views/layouts/application.html.erb
View
2  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' %>
Please sign in to comment.
Something went wrong with that request. Please try again.