0

I want my edit and update actions to load @user by setting it to current_user. I have tried load_and_authorize_resource through: :current_user, only: [:edit, :update] but get the error "undefined method users for #user". Is this possible or do I have to manually load and authorize @user?

Eric M.
  • 5,399
  • 6
  • 41
  • 67

0 Answers0