This commit is contained in:
albert
2013-03-29 15:37:28 -04:00
parent 6ba0f23542
commit 541dabaaf6
22 changed files with 106 additions and 15 deletions

View File

@@ -11,6 +11,11 @@ class PostAppealsController < ApplicationController
def index
@search = PostAppeal.order("id desc").search(params[:search])
@post_appeals = @search.paginate(params[:page])
respond_with(@post_appeals) do |format|
format.xml do
render :xml => @post_appeals.to_xml(:root => "post-appeals")
end
end
end
def create