The syntax is incorrect, you just need to:
rails destroy devise:views
if you want to destroy a specific set of views, use:
rails destroy devise:views model
instead of the model, use the name of the model you want to destroy, for example, the user or administrator, depending on your model.
Asaf lopez
source share