work on post unapproval javascript

This commit is contained in:
albert
2011-02-08 19:11:14 -05:00
parent 76a7594a97
commit 00ea319743
13 changed files with 139 additions and 17 deletions

View File

@@ -15,7 +15,7 @@ class UnapprovalsController < ApplicationController
def create
@unapproval = Unapproval.create(params[:unapproval])
respond_with(@unapproval)
respond_with(@unapproval, :location => post_path(@unapproval.post_id))
end
def destroy