Files
danbooru/app/controllers/counts_controller.rb
2014-05-30 00:02:23 -04:00

8 lines
197 B
Ruby

class CountsController < ApplicationController
respond_to :xml, :json
def posts
@count = Post.fast_count(params[:tags], :statement_timeout => CurrentUser.user.statement_timeout)
end
end