Permalink
Browse files

[FIX] Fixed an error where the `/article/:id` used un-available metho…

…ds on article.author
  • Loading branch information...
1 parent bc63455 commit 39101103ecd42988d82dae0b493c0f61c3f1ef53 @karmi committed Dec 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 episode-307/blog-after/app/views/articles/show.html.erb
@@ -1,6 +1,6 @@
<h1><%= @article.name %></h1>
-<p class="author"><em>by <%= @article.author.first_name %> <%= @article.author.last_name %></em></p>
+<p class="author"><em>by <%= @article.author.name %></em></p>
<%= simple_format @article.content %>

0 comments on commit 3910110

Please sign in to comment.