This commit is contained in:
Toks
2013-04-20 21:07:03 -04:00
parent 4114a18925
commit 5e8bb942f7
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
class PoolVersionsController < ApplicationController
respond_to :html, :xml, :js
respond_to :html, :xml, :json
def index
if params[:search] && params[:search][:pool_id].present?

View File

@@ -1,5 +1,5 @@
class WikiPageVersionsController < ApplicationController
respond_to :json, :html, :xml
respond_to :html, :xml, :json
def index
@wiki_page_versions = WikiPageVersion.search(params[:search]).order("id desc").paginate(params[:page], :search_count => params[:search])