Skip to content

Commit

Permalink
Merge pull request turingschool#16 from bbhoss/patch-1
Browse files Browse the repository at this point in the history
Fix typo in example. Was referencing the wrong type of variable.
  • Loading branch information
radar committed Jan 11, 2012
2 parents 3c42968 + 76f761d commit a751129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/topics/decorators.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Let's tweak it a bit to decorate the collection:
```ruby
def index
articles, @tag = Article.search(params)
@articles = ArticleDecorator.decorate(@articles)
@articles = ArticleDecorator.decorate(articles)
end
```

Expand Down

0 comments on commit a751129

Please sign in to comment.