Files
danbooru/app/controllers/moderator/post/disapprovals_controller.rb
r888888888 1d9596d7f2 fixes #2417
2015-06-29 18:17:59 -07:00

13 lines
315 B
Ruby

module Moderator
module Post
class DisapprovalsController < ApplicationController
before_filter :post_approvers_only
def create
@post = ::Post.find(params[:post_id])
@post_disapproval = PostDisapproval.create(:post => @post, :user => CurrentUser.user)
end
end
end
end