Rails & Devise: How to render login page without a layout?

后端 未结 3 1202
再見小時候
再見小時候 2021-01-30 01:11

I know this is probably a simple question, but I\'m still trying to figure Devise out...

I want to render :layout => false on my login page; how can I do

3条回答
  •  伪装坚强ぢ
    2021-01-30 01:34

    You can also create a sessions.html.erb file in app/views/layouts/devise. That layout will then be used for just the sign in screen.

提交回复
热议问题