Angus McLeod %!s(int64=7) %!d(string=hai) anos
pai
achega
6aedcd33da
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      plugin.rb

+ 1 - 0
plugin.rb

@@ -110,6 +110,7 @@ after_initialize do
 
   add_to_serializer(:current_user, :redirect_to_wizard) { object.custom_fields['redirect_to_wizard'] }
 
+  ## TODO limit this to the first admin
   SiteSerializer.class_eval do
     def include_wizard_required?
       scope.is_admin? && Wizard.user_requires_completion?(scope.user)