Skip to content

Commit

Permalink
Merge branch 'dev' into 527/remove_selenium_gem
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisma committed Mar 27, 2019
2 parents f89e41e + 819c056 commit 2ac18e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/dashboard_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def index
redirect_to '/users/sign_in' if current_user.nil?
initialize_vm_categories
filter_vm_categories current_user unless current_user.admin?
@notifications = Notification.where(user: current_user, read: false).slice(0, number_of_notifications)
@notifications = Notification.where(user: current_user, read: false).limit(number_of_notifications)
end

private
Expand Down

0 comments on commit 2ac18e9

Please sign in to comment.