0
0
Fork 0

Fix linking of remote hashtags in UI, add public view of hashtags

This commit is contained in:
Eugen Rochko 2016-11-05 17:44:14 +01:00
parent 48b9619439
commit a698b767c1
3 changed files with 12 additions and 1 deletions

View file

@ -1,4 +1,7 @@
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