app/controllers/management/page_steps_controller.rb
# Calls the setup wizard and if the step is invalid ...
# ... redirects the user to the first step
Calls the setup wizard and if the step is invalid
redirects the user to the first step
Calls the setup wizard and if the step is invalid redirects the user to the first step
def load_wizard
    begin
      setup_wizard
    rescue InvalidStepError
      redirect_to wizard_path(wizard_steps[0])
    end
  end
def load_wizard begin setup_wizard rescue InvalidStepError redirect_to wizard_path ( wizard_steps [ 0 ] ) end end
Calls the setup wizard and if the step is invalid ...
... redirects the user to the first step
Calls the setup wizard and if the step is invalid ... ... redirects the user to the first step