Why ?
Once the 3 devise models (Company Masseur and Employee) are generated, we will need basic functionnal views to see it through the application.
How
After the generation of the 3 models (Company Masseur and Employee), done from a previous issue :
[ ] run the command rails generate devise:views
[ ] check the config/routes.rb file to see if the following lines of code are present : devise_for :companies, devise_for :masseurs, and devise_for :employees have to be present.
[ ] check if the views are working properly. Launch the application server rails server, run the command rails routes, and then copy and past some paths in the URL of the browser (example : localhost:3000/companies/sign_in).
[ ] if all of this didn't work, delete all changes in this branch and follow the tutorial below from step 1 to 5 (second link of the reading list).
Must Have
The basic and functionnal views and routes generated for the three models. The views won't be personalised, no front-end development is required.
Why ? Once the 3 devise models (Company Masseur and Employee) are generated, we will need basic functionnal views to see it through the application.
How After the generation of the 3 models (Company Masseur and Employee), done from a previous issue :
rails generate devise:views
devise_for :companies
,devise_for :masseurs
, anddevise_for :employees
have to be present.rails server
, run the commandrails routes
, and then copy and past some paths in the URL of the browser (example :localhost:3000/companies/sign_in
).Must Have The basic and functionnal views and routes generated for the three models. The views won't be personalised, no front-end development is required.
Reading List