8 lines
139 B
Ruby
8 lines
139 B
Ruby
class CountsController < ApplicationController
|
|
respond_to :xml, :json
|
|
|
|
def posts
|
|
@count = Post.fast_count(params[:tags])
|
|
end
|
|
end
|