chubbies needs its own way of assigning a current user
This commit is contained in:
parent
7f0677ab16
commit
bcae8a1952
1 changed files with 4 additions and 0 deletions
|
|
@ -64,6 +64,10 @@ module Chubbies
|
|||
@user = User.first
|
||||
end
|
||||
|
||||
def current_user= user
|
||||
@user = user
|
||||
end
|
||||
|
||||
def redirect_path
|
||||
'/callback'
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue