end
# just return an empty 200 OK for success
- render :nothing => true
+ head :ok
end
private
def show_redactions?
- @user && @user.moderator? && params[:show_redactions] == "true"
+ current_user && current_user.moderator? && params[:show_redactions] == "true"
end
end