From 21bfe97489cc4112e71c22101802302ea423ab80 Mon Sep 17 00:00:00 2001 From: John McAliley Date: Thu, 12 May 2011 12:54:45 -0700 Subject: [PATCH] forgot to add routes setup to install instructions --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 18f48f2..8ee0583 100644 --- a/README.md +++ b/README.md @@ -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