Skip to content

Commit

Permalink
forgot to add routes setup to install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmcaliley committed May 12, 2011
1 parent b28815c commit 21bfe97
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -46,6 +46,12 @@ When you add this line to your model, it makes it rateable, voteable and comment
is_favoriteable
end

You will also need to add nested resources to the Article route. In config/routes.rb:

resources :articles do
resources :comments,:votes,:ratings,:favorites
end

Make your user model social and make it have reputation

class User < ActiveRecord::Base
Expand Down

0 comments on commit 21bfe97

Please sign in to comment.