Skip to content

Commit

Permalink
Merge pull request #190 from davich/update-readme-thing-params
Browse files Browse the repository at this point in the history
Fixed readme to read thing_params instead of things_params
  • Loading branch information
mattpolito committed Aug 15, 2018
2 parents f7ad3b5 + 40239dc commit 762c2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ end

Now every time you call `thing` in your controller or view, it will look for an
ID and try to perform `Thing.find(id)`. If the ID isn't found, it will call
`Thing.new(things_params)`. The result will be memoized in an `@exposed_thing`
`Thing.new(thing_params)`. The result will be memoized in an `@exposed_thing`
instance variable.

#### Example Controller
Expand Down

0 comments on commit 762c2c2

Please sign in to comment.