plataformatec/devise — Issue #1606: Layout broken in Devise 2.0?
Author: lunks
Created: 2012-01-27 15:52:18+00:00
State: open

I used to specify a different layout for Devise in 1.x like this:

```ruby
def layout_by_resource
devise_controller? ? 'portal' : 'application'
end
```

This doesn't work anymore on Devise 2.0.