Files
danbooru/app/controllers/post_versions_controller.rb
2013-02-17 21:39:15 -05:00

13 lines
294 B
Ruby

class PostVersionsController < ApplicationController
respond_to :html, :xml, :json
def index
@search = PostVersion.search(params[:search])
@post_versions = @search.order("id desc").paginate_sequential(params[:page])
respond_with(@post_versions)
end
def search
end
end