heartcombo / devise

Flexible authentication solution for Rails with Warden.
http://blog.plataformatec.com.br/tag/devise/
MIT License
23.91k stars 5.54k forks source link

scoped_views #146

Closed shenoudab closed 14 years ago

shenoudab commented 14 years ago

Dears,

kindly, with using rails 2.3.5 and Devise 1.0.4 and trying to generate devise_views with scoped_views = true and 2 devise Models it generate single views , and not views for each model as expected.

and how to generate the views per model folder as: if i have user model and admin model,the generated views will be in /views/users/* and /views/admin/*

Thanks, Shenouda Bertel

josevalim commented 14 years ago

You have to copy the generated views to their respective folders. A patch to change the generator is welcome though.