mirror of
https://github.com/mastodon/mastodon.git
synced 2024-10-19 17:21:24 +09:00
10 lines
271 B
Ruby
10 lines
271 B
Ruby
# frozen_string_literal: true
|
|
|
|
class TagsController < ApplicationController
|
|
layout 'public'
|
|
|
|
def show
|
|
@statuses = Tag.find_by!(name: params[:id].downcase).statuses.order('id desc').with_includes.with_counters.paginate(page: params[:page], per_page: 10)
|
|
end
|
|
end
|