Skip to content

Commit

Permalink
fix typo in users_controller.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindai2002 committed Oct 28, 2024
1 parent 53572ef commit 69dfc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def role

# For filtering the users list with proper search and pagination.
def paginate_list
paginate_options = { '1' => 25, '2' => 50, '3' => 100, '4' => User.coun}
paginate_options = { '1' => 25, '2' => 50, '3' => 100, '4' => User.count}

# If the above hash does not have a value for the key,
# it means that we need to show all the users on the page
Expand Down

0 comments on commit 69dfc94

Please sign in to comment.