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
end
def update
respond_with Comment.update(params[:id], params[:comment])
end
#TODO Add Authorization
def destroy
respond_with Comment.destroy(params[:id])
end

Loading…
Cancel
Save