From 0aff947f05a8f87bedc91d484f9204869ff8cceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=20Mar=C3=ADa=20Mart=C3=ADnez=20G=C3=B3mez?= Date: Thu, 11 May 2017 11:59:33 +0200 Subject: [PATCH] Fix haml-lint error The error was introduced when merging https://github.com/openSUSE/osem/pull/1469 as a offense was introduced since the tests there were run and the PR got merged. --- 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 6ac6f03c..204665a3 100644 --- a/app/views/admin/users/index.html.haml +++ b/app/views/admin/users/index.html.haml @@ -7,7 +7,7 @@ = "(#{@users.length})" - if can? :create, User .pull-right - =link_to 'Add User', new_admin_user_path, :class => 'button btn btn-default btn-info' + = link_to 'Add User', new_admin_user_path, :class => 'button btn btn-default btn-info' .row .col-md-12.table-responsive %table.table.table-striped.table-bordered.table-hover.datatable