diff --git a/app/views/my/_top_bar.html+phone.erb b/app/views/my/_top_bar.html+phone.erb index 8a10efb7..bc923371 100644 --- a/app/views/my/_top_bar.html+phone.erb +++ b/app/views/my/_top_bar.html+phone.erb @@ -1,4 +1,4 @@ -<% if params[:action] == 'index' && params[:controller] != 'my/home' %> +<% if (params[:action] == 'index' && params[:controller] != 'my/home') || referer_controller == 'my/home' %>
<%= link_to({ controller: '/my/home' }, class: 'px-4') do %>