diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-07 10:01:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-07 10:01:55 +0200 |
commit | ac33f1aedd9a6c72c6c176afb1f5d62a1ce5d44d (patch) | |
tree | 9bf21d9eb62390f87da145ff880d13a55e9503a7 /app/controllers/directories_controller.rb | |
parent | 5e35aa82802b09a63d4625fa9c1837ad75178553 (diff) |
Fix account tags not being saved correctly (#11507)
* Fix account tags not being saved correctly Regression from f371b32 Fix Tag#discoverable not returning tags where listable is nil instead of true Add notice when saving hashtags in admin UI Change public hashtag and directory pages to return 404 for forbidden tags * Remove unused locale string
Diffstat (limited to 'app/controllers/directories_controller.rb')
-rw-r--r-- | app/controllers/directories_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/directories_controller.rb b/app/controllers/directories_controller.rb index d2ef76f06..a5c47b515 100644 --- a/app/controllers/directories_controller.rb +++ b/app/controllers/directories_controller.rb @@ -25,7 +25,7 @@ class DirectoriesController < ApplicationController end def set_tag - @tag = Tag.discoverable.find_by!(name: params[:id].downcase) + @tag = Tag.discoverable.find_normalized!(params[:id]) end def set_tags |