Commit 4faf85b
committed
Add empty :new action to Spree::UsersController
Without this, specs fail with
```
AbstractController::ActionNotFound:
The new action could not be found for the :authorize_actions
callback on Spree::UsersController, but it is listed in the controller's
:only option.
```
I guess this is because the views are not in the standard place, thus
impeding Rails' ability to dynamically generate empty actions if
matching views are present. Anyways: This is good, because it's more
explicit.1 parent 89c8d1b commit 4faf85b
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
0 commit comments