railstutorial/sample_app — Issue #10: UsersController :authenticate
Author: Dathmar
Created: 2012-02-17 19:05:11+00:00
State: open

The final UsersController the before_filter :authenticate wasn't changed to the :except format so two tests fail.

Just need to change line 2 in ~\app\controllers\users_controller.rb from:

```ruby
before_filter :authenticate, :only => [:index, :edit, :update, :destroy]
````

to

```ruby
before_filter :authenticate, :except => [:show, :new, :create]
```

Took me almost an hour to finally figure it out.