Permalink
Browse files

OK, reformatting 3

  • Loading branch information...
1 parent 145103f commit 4a4e2752b07dd271cb7e2d1c05f24b7000378e60 Jordan Fowler committed Feb 22, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.markdown
View
@@ -51,15 +51,15 @@ Example
# In your view (displaying the updates in the show action of VacationController)
- <h1>Vacation Updates</h1>
+ <h1>Vacation Updates</h1>
- &lt;% @vacation.association_updates.each do |update| -%&gt;
- &lt;p&gt;&lt;%= update.user.name %&gt; &lt;%= update.action %&gt; &lt;%= update.record.thumbnail %&gt; to &lt;%= update.association %&gt;&lt;/p&gt;
- &lt;% end -%&gt;
+ <% @vacation.association_updates.each do |update| -%>
+ <p><%= update.user.name %> <%= update.action %> <%= update.record.thumbnail %> to <%= update.association %></p>
+ <% end -%>
# Example result from view:
- &lt;h1&gt;Vacation Updates&lt;/h1&gt;
- &lt;p&gt;Jordan added [photo thumbnail] to photos&lt;/p&gt;
+ <h1>Vacation Updates</h1>
+ <p>Jordan added [photo thumbnail] to photos</p>
Copyright (c) 2008 Jordan Fowler, released under the MIT license, and originally developed for Cinema Treasures, LLC (http://www.cinematreasures.org/).

0 comments on commit 4a4e275

Please sign in to comment.