Skip to content

Commit

Permalink
return to my home
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Aug 31, 2024
1 parent d4a60b7 commit f9bdd8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/my/_top_bar.html+phone.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if params[:action] == 'index' && params[:controller] != 'my/home' %>
<% if (params[:action] == 'index' && params[:controller] != 'my/home') || referer_controller == 'my/home' %>
<div data-controller="mini-program" data-mini-program-pt-class="pt-0" class="box as-bar">
<%= link_to({ controller: '/my/home' }, class: 'px-4') do %>
<i class="fa-solid fa-lg fa-fw-1 fa-angle-left"></i>
Expand Down

0 comments on commit f9bdd8d

Please sign in to comment.