Remove posibility to update comment

openid
Micha Wrobel 13 years ago
parent 70cf1bdc3b
commit cc6fd9eb2a

@ -18,10 +18,7 @@ class CommentsController < ApplicationController
respond_with @comment respond_with @comment
end end
def update #TODO Add Authorization
respond_with Comment.update(params[:id], params[:comment])
end
def destroy def destroy
respond_with Comment.destroy(params[:id]) respond_with Comment.destroy(params[:id])
end end

Loading…
Cancel
Save