1
0
Fork 0

Use requires_completion directly for site serializer

Dieser Commit ist enthalten in:
Angus McLeod 2018-01-11 10:53:28 +08:00
Ursprung 984b71ee34
Commit 8851ea8c71

Datei anzeigen

@ -121,7 +121,7 @@ after_initialize do
attributes :complete_custom_wizard
def include_wizard_required?
scope.is_admin? && Wizard.user_requires_completion?(scope.user)
scope.is_admin? && Wizard.new(scope.user).requires_completion?
end
def complete_custom_wizard