Configuring views

7 views
Skip to first unread message

Fayimora

unread,
Feb 10, 2012, 11:51:39 AM2/10/12
to Devise
Hi guys, I just wanted to know the implications of not using the views
provided by Devise. I want to style the page so it conforms with the
main application's style. Is there a draw back to generating the
views?

When I run the command to place the views in their respective folders,
would I need to re-generate the views again if i change any of
Devise's settings?

Thanks in advance

Walter Lee Davis

unread,
Feb 10, 2012, 10:25:26 PM2/10/12
to plataforma...@googlegroups.com

On Feb 10, 2012, at 11:51 AM, Fayimora wrote:

> Hi guys, I just wanted to know the implications of not using the views
> provided by Devise. I want to style the page so it conforms with the
> main application's style. Is there a draw back to generating the
> views?

No, and anything you do to these generated views will simply override the gem versions. Have at it.

>
> When I run the command to place the views in their respective folders,
> would I need to re-generate the views again if i change any of
> Devise's settings?

I believe the generator creates everything. Use what you need, ignore the parts you aren't using, delete them, even. If you run the generator a second time, you get asked for each file if you want to overwrite the version that's already there.

Walter

>
> Thanks in advance

Fayimora

unread,
Feb 11, 2012, 9:50:19 AM2/11/12
to Devise
Thanks a lot
Reply all
Reply to author
Forward
0 new messages