dimanche 19 février 2023

NoMethodError in Account::Users#edit , how to resolve this error

NoMethodError in Account::Users#edit

%section
    %header
      %h3
        = precede "User Information" do
          - if editable_user.is_federated?(session)
            = link_to "Change Password",main_app.try(:new_password_path)
    .inputs

undefined method `chomp' for nil:NilClass

My Users/edit controllers is

def edit
end

Aucun commentaire:

Enregistrer un commentaire