diff --git a/app/views/spree/admin/return_index/return_authorizations.html.erb b/app/views/spree/admin/return_index/return_authorizations.html.erb
index ed78d72acf..aed5e7e942 100644
--- a/app/views/spree/admin/return_index/return_authorizations.html.erb
+++ b/app/views/spree/admin/return_index/return_authorizations.html.erb
@@ -10,12 +10,12 @@
<%= link_to Spree.t(:authorized),
- params.merge({q: {state_eq: :authorized}}).permit!,
+ params.permit(q: {}).merge({q: {state_eq: :authorized}}),
class: "nav-link #{'active' if params[:q][:state_eq] == 'authorized'}" %>
<%= link_to Spree.t(:canceled),
- params.merge({q: {state_eq: :canceled}}).permit!,
+ params.permit(q: {}).merge({q: {state_eq: :canceled}}),
class: "nav-link #{'active' if params[:q][:state_eq] == 'canceled'}" %>
<% end %>