Permalink
Browse files

fix typos in README

  • Loading branch information...
1 parent 73fe2ae commit e1965b8c62428ec98691cca50dbfbe00cdfe215a @moonmaster9000 committed Aug 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 readme.markdown
View
@@ -95,7 +95,7 @@ module ApplicationHelper
end
```
-And now you begin the tedious track of updating all of the JSON views with the helper:
+And now you begin the tedious task of updating all of the JSON views with the helper:
```ruby
json.created_at format_timestamp(@article.created_at)
@@ -164,7 +164,7 @@ end
And that's it. You don't have to update any of your views. Why? When you call the `frill` method inside your controller and pass it an object (or a collection of objects),
frill will attempt to extend the object with any applicable frills (i.e., frills that return `true` for the `frill?` method when passed the object and the request context).
-That way, you can simple render your `created_at` attributes without any helpers, and they will automatically present themselves appropriately for their context (e.g., HTML v. JSON requests).
+That way, you can simply render your `created_at` attributes without any helpers, and they will automatically present themselves appropriately for their context (e.g., HTML v. JSON requests).
Note that if prefer, you can configure your controllers to automatically frill all objects for presentation by calling the `auto_frill` method inside your `ApplicationController`, instead of manually having to opt them it via the `frill` method:

0 comments on commit e1965b8

Please sign in to comment.