Skip to content

Commit

Permalink
Fix viewing of stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
olabini committed Apr 6, 2009
1 parent 88a1ee0 commit 8681995
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions app/views/blogs/blog.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<% if @admin %>
<p><i><%=link_to("Remove post", remove_post_url(p), {:method => :post})%></i></p>
<% end %>
<pre>
<%=p.content%>
</pre>
<p>
<%=p.content.gsub("\n", "<br/>")%>
</p>
<% end %>
6 changes: 3 additions & 3 deletions app/views/blogs/post.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<% if @admin %>
<p><i><%=link_to("Remove post", remove_post_url(@post), {:method => :post})%></i></p>
<% end %>
<pre>
<%=@post.content%>
</pre>
<p>
<%=@post.content.gsub("\n", "<br/>")%>
</p>
6 changes: 3 additions & 3 deletions app/views/blogs/start.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<% if @admin %>
<p><i><%=link_to("Remove post", remove_post_url(p), {:method => :post})%></i></p>
<% end %>
<pre>
<%=p.content%>
</pre>
<p>
<%=p.content.gsub("\n", "<br/>")%>
</p>
<% end %>

0 comments on commit 8681995

Please sign in to comment.