开发者

RoR: Devise Customize

I'm trying to follow this tutorial about adding a username field to Devise: http://asciicasts.com/episodes/210-customizing-devise

However, when I edit the view files new.html.erb I don't see any changes take place when I r开发者_运维问答efresh the signup/login page...

What would be causing this?


Did you do:

rails g devise:views

or

rails g devise:views MyModel 

When using only only model, you need to use the former version to generate the correct views. Or rename your app/views/my_models to app/views/devise

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜