diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-05 17:44:14 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-05 17:44:14 +0100 |
commit | a698b767c175e7ca59122da11412660a22519067 (patch) | |
tree | 04a7516a5845b6878663d78f2934f7f9a984983e /app/controllers | |
parent | 48b9619439818ecb344ae33c9c31a55ecb1aa27a (diff) |
Fix linking of remote hashtags in UI, add public view of hashtags
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/tags_controller.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rb index c1aaf7e47..ca5ee2f83 100644 --- a/app/controllers/tags_controller.rb +++ b/app/controllers/tags_controller.rb @@ -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 |