Remove TODO comment

openid
Marcin Kulik 13 years ago
parent 9e0a6acf55
commit 119622f57b

@ -18,7 +18,6 @@ class Api::CommentsController < ApplicationController
respond_with @comment, :location => api_comment_url(@comment)
end
#TODO Add Authorization
def destroy
comment = Comment.find(params[:id])
if comment.user == current_user

Loading…
Cancel
Save