2016-11-05 10:20:05 -04:00
|
|
|
class TagsController < ApplicationController
|
2016-11-05 12:44:14 -04:00
|
|
|
layout 'public'
|
|
|
|
|
2016-11-05 10:20:05 -04:00
|
|
|
def show
|
2016-11-05 12:44:14 -04:00
|
|
|
@statuses = Tag.find_by!(name: params[:id].downcase).statuses.order('id desc').with_includes.with_counters.paginate(page: params[:page], per_page: 10)
|
2016-11-05 10:20:05 -04:00
|
|
|
end
|
|
|
|
end
|