refactored post mod queue

This commit is contained in:
albert
2011-07-22 13:35:40 -04:00
parent e06e17c4ba
commit 4828cef27d
18 changed files with 233 additions and 71 deletions

View File

@@ -0,0 +1,10 @@
module Moderator
module Post
class ApprovalsController < ApplicationController
def create
@post = ::Post.find(params[:post_id])
@post.approve!
end
end
end
end