Skip to content
Snippets Groups Projects
Unverified Commit ec83e2a3 authored by Jeremy Kescher's avatar Jeremy Kescher Committed by GitHub
Browse files

Fix missing scope for current_user in _sidebar.html.haml (#18822)

parent ad489f86
No related branches found
No related tags found
No related merge requests found
......@@ -13,4 +13,4 @@
%h4.emojify= t('footer.trending_now')
- trends.each do |tag|
= react_component :hashtag, hashtag: ActiveModelSerializers::SerializableResource.new(tag, serializer: REST::TagSerializer).as_json
= react_component :hashtag, hashtag: ActiveModelSerializers::SerializableResource.new(tag, serializer: REST::TagSerializer, scope: current_user, scope_name: :current_user).as_json
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment