```ruby
class UsersController < ApplicationController

  def show
    @user = User.find(params[:id])
  end
end```

Update user controller to include transactions to be called on user show page
user
```ruby
class UsersController < ApplicationController

  def show
    @user = User.find(params[:id])
    @transactions = Transaction.sort_by_user(@user)
  end
end```
assistant