jeudi 16 juin 2022

Ruby On Rails undefined local variable or method `profile_params' for ProfileController:Class

First time using stackoverflow. Also my english is pretty bad please do not blame me. I am a noob trying to learn RoR. I want to create a controller and a view to modify data/informations of a user. Like i want to change the phone number of a user but i do not know how. Below are some photos with my code.

error

routes

application_controller

app/controllers/profile_controller

app/views/profile/index.html

Aucun commentaire:

Enregistrer un commentaire