Code Review

This behavior is more closely related to displaying favorites rather than displaying users. I would move this to the `FavoritesController` and remove this file:

```ruby
class FavoritesController < ApplicationController
  before_action :authenticate_user!

  def index
    @favorites = current_user.favorites
  end
end
```