0

我有两种布局

 layouts/application.html.erb
 layouts/profiles.html.erb

控制器:

 class ProfilesController < Devise::RegistrationsController
 end

现在我只想profiles layout用于ProfilesController所有其他devise controllers应该使用的application layout,但我Devise::RegistrationsController目前profiles layout默认使用。我该如何改变呢?

4

1 回答 1

1

记录在项目页面中。我希望它有所帮助。

更新

在您当前的项目中,您说RegistrationController正在使用profiles布局。这显然是在项目中的某个位置手动设置的,因为它不是默认布局。只需在您的项目中搜索设置并更改它。

于 2012-07-31T06:38:08.823 回答