fix for ads

This commit is contained in:
albert
2013-02-22 21:42:50 -05:00
parent 38f75961f6
commit c0257916b4
4 changed files with 8 additions and 3 deletions

View File

@@ -16,6 +16,10 @@ class CommentsController < ApplicationController
def search
end
def new
redirect_to comments_path
end
def update
@comment = Comment.find(params[:id])
check_privilege(@comment)