mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Add default OAuths (#259)
This commit is contained in:
committed by
GitHub
parent
0828c9c879
commit
653e139a9e
@@ -49,7 +49,8 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
|
||||
def load_oauths
|
||||
@o_auths = Current.tenant_or_raise!.o_auths
|
||||
@o_auths = OAuth
|
||||
.include_defaults
|
||||
.where(is_enabled: true)
|
||||
.order(created_at: :asc)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user