mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] Fix a typo
This commit is contained in:
parent
839250e262
commit
319b496882
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ by this same current user, you're also ensuring that you can later retrieve all
|
|||
connections by a given user (and potentially disconnect them all if the user is deleted
|
||||
or unauthorized).
|
||||
|
||||
If you use Device for authenticaion, you can get `current_user` from warden:
|
||||
If you use Devise for authenticaion, you can get `current_user` from warden:
|
||||
|
||||
```ruby
|
||||
verified_user = env['warden'].user
|
||||
|
|
Loading…
Reference in a new issue