user8556255
user8556255

Reputation:

Devise App/Views File is missing

I have added devise to my project a few days ago and it has been working fine but for whatever reason the folder is missing from the app/views folder. I'm completely lost for ideas on where to look or what to do

Upvotes: 0

Views: 298

Answers (2)

bitsapien
bitsapien

Reputation: 1833

If you already had those views but they seem to have vanished. You could look into your commit history to find out when they were removed and get it back. If you are using git as your version control system. You may try this :

git log -- [file path]

Upvotes: 0

Trenton Tyler
Trenton Tyler

Reputation: 1712

Run this in your terminal in your rails app directory: rails generate devise:views

https://github.com/plataformatec/devise#configuring-views

Upvotes: 2

Related Questions