mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #24204 from sand33pn/master
Update action_controller_overview.md
This commit is contained in:
commit
4fb5a92983
1 changed files with 1 additions and 1 deletions
|
@ -700,7 +700,7 @@ class LoginsController < ApplicationController
|
|||
end
|
||||
```
|
||||
|
||||
Now, the `LoginsController`'s `new` and `create` actions will work as before without requiring the user to be logged in. The `:only` option is used to only skip this filter for these actions, and there is also an `:except` option which works the other way. These options can be used when adding filters too, so you can add a filter which only runs for selected actions in the first place.
|
||||
Now, the `LoginsController`'s `new` and `create` actions will work as before without requiring the user to be logged in. The `:only` option is used to skip this filter only for these actions, and there is also an `:except` option which works the other way. These options can be used when adding filters too, so you can add a filter which only runs for selected actions in the first place.
|
||||
|
||||
### After Filters and Around Filters
|
||||
|
||||
|
|
Loading…
Reference in a new issue