From 2dba9287ae59a8608290a7f48a2b77929fd4557b Mon Sep 17 00:00:00 2001 From: Stella Rouzi Date: Fri, 3 Mar 2017 12:36:42 +0200 Subject: [PATCH] Provide value for sorting column Confirmed? in admin/users#index --- app/views/admin/users/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/users/index.html.haml b/app/views/admin/users/index.html.haml index eb26d644..14cfcc0d 100644 --- a/app/views/admin/users/index.html.haml +++ b/app/views/admin/users/index.html.haml @@ -22,7 +22,7 @@ %tr %td = user.id - %td + %td{ 'data-order' => "#{user.confirmed?}" } - if can? :toggle_confirmation, user = check_box_tag user.id, user.id, user.confirmed?, method: :patch,