Skip to content

Commit

Permalink
SlimLintの修正をする
Browse files Browse the repository at this point in the history
  • Loading branch information
yocchan-git committed Mar 28, 2024
1 parent 0bf5d39 commit d7893ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/views/users/_page_title.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ header.page-header
li.page-header-actions__item
= link_to users_path, class: 'a-button is-md is-secondary is-block is-back' do
| ユーザー一覧

2 changes: 1 addition & 1 deletion app/views/users/_user_list.html.slim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- if !users.empty?
- if users.present?
.user-list
= paginate users, params: { controller: 'users', action: 'index' }
.row
Expand Down

0 comments on commit d7893ae

Please sign in to comment.