diff --git a/app/views/spree/admin/users/index.html.haml b/app/views/spree/admin/users/index.html.haml index 9672637e6c..fb60688ce7 100644 --- a/app/views/spree/admin/users/index.html.haml +++ b/app/views/spree/admin/users/index.html.haml @@ -13,8 +13,8 @@ %col{ style: "width: 15%" } %thead %tr - %th= sort_link @search,:email, t(".user"), {}, {title: "users_email_title"} - %th= sort_link @search,:enterprise_limit, t(".enterprise_limit") + %th= sort_link [:spree, @search], :email, t(".user"), {}, {title: "users_email_title"} + %th= sort_link [:spree, @search], :enterprise_limit, t(".enterprise_limit") %th.actions %tbody - @users.each do |user| diff --git a/app/views/spree/admin/zones/index.html.haml b/app/views/spree/admin/zones/index.html.haml index 29c1cd4211..eefd8b9ab7 100644 --- a/app/views/spree/admin/zones/index.html.haml +++ b/app/views/spree/admin/zones/index.html.haml @@ -22,9 +22,9 @@ %col{style: "width: 15%"}/ %thead %tr - %th= sort_link @search,:name, t("spree.name"), title: 'zones_order_by_name_title' + %th= sort_link [:spree, @search], :name, t("spree.name"), title: 'zones_order_by_name_title' %th - = sort_link @search,:description, t("spree.description"), {}, {title: 'zones_order_by_description_title'} + = sort_link [:spree, @search], :description, t("spree.description"), {}, {title: 'zones_order_by_description_title'} %th= t("spree.default_tax") %th.actions %tbody