```ruby
class UsersController < SecuredController

  def edit
    user = User.find(params[:id])
    if user == current_user
      render "edit"
    else
      redirect '/'
    end
  end

end```

Fix route so it will only return the current user's edit path
user
```ruby
class UsersController < SecuredController
  def edit
    @user = current_user
    render "edit"
  end
end```
assistant