Updated react.html.haml to not preload home_timeline, notifications if no current_user
• Updated: - react.html.haml to not preload home_timeline, notifications if no current_user
This commit is contained in:
parent
73b68373a1
commit
952e052321
|
@ -1,4 +1,5 @@
|
|||
- content_for :header_tags do
|
||||
- if @current_user
|
||||
= preload_link_tag asset_pack_path('features/home_timeline.js'), crossorigin: 'anonymous'
|
||||
= preload_link_tag asset_pack_path('features/notifications.js'), crossorigin: 'anonymous'
|
||||
|
||||
|
|
Loading…
Reference in New Issue