added post#annihilate, removed stale post_moderation views
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
module Moderator
|
||||
module Post
|
||||
class ApprovalsController < ApplicationController
|
||||
before_filter :janitor_only
|
||||
|
||||
def create
|
||||
@post = ::Post.find(params[:post_id])
|
||||
@post.approve!
|
||||
|
||||
Reference in New Issue
Block a user