mirror of
https://github.com/System-End/identity-vault.git
synced 2026-04-19 20:55:11 +00:00
6 lines
125 B
Ruby
6 lines
125 B
Ruby
module API::V1::ApplicationHelper
|
|
def scope(scope, &)
|
|
return unless current_scopes.include?(scope)
|
|
yield
|
|
end
|
|
end
|