Skip to content

Commit

Permalink
batch
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Dec 4, 2024
1 parent e84d3c1 commit 86f5770
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/trade/admin/payments/confirm.turbo_stream.erb
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
<%= turbo_stream.append 'body', partial: 'visit', locals: { url: url_for(controller: 'desk/items', action: 'history', desk_id: params[:desk_id]) } %>
<% if referer_controller == 'trade/admin/desk/items' %>
<%= turbo_stream.append 'body', partial: 'visit', locals: { url: url_for(controller: referer_controller, action: 'history', desk_id: params[:desk_id]) } %>
<% else %>
<%= turbo_stream.append 'body', partial: 'visit', locals: { url: url_for(controller: referer_controller) } %>
<% end %>

0 comments on commit 86f5770

Please sign in to comment.