plataformatec/devise — Issue #1647: undefined method `scoped_path` for nil:NilClass
Author: ryanjm
Created: 2012-02-14 23:27:05+00:00
State: open

I'm working on upgrading to the latest version of Devise and I've come across this error when trying to get to my sign in page.

```
NoMethodError in Devise::SessionsController#new
undefined method `scoped_path' for nil:NilClass
```

Nothing comes through Application Trace. Full Trace has:

```
devise (2.0.1) app/controllers/devise_controller.rb:164:in `_prefixes'
...
```

It doesn't look like it even touches my app. And the log doesn't offer much more than that.

I know this isn't very much, but I'm not even sure where to be looking. Here is a [link](https://github.com/plataformatec/devise/blob/master/app/controllers/devise_controller.rb#L164) to the code it is referencing.