From 1e7acd0cda2dd2ad316137f4300aa7dcd66a23ff Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Wed, 8 Apr 2015 16:07:51 +0200 Subject: [PATCH] Fixed typos. --- .../javascripts/app/controllers/getting_started.js.coffee | 4 ++-- app/controllers/getting_started_controller.rb | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/app/controllers/getting_started.js.coffee b/app/assets/javascripts/app/controllers/getting_started.js.coffee index c7c6c480f..aba3a7374 100644 --- a/app/assets/javascripts/app/controllers/getting_started.js.coffee +++ b/app/assets/javascripts/app/controllers/getting_started.js.coffee @@ -36,8 +36,8 @@ class Index extends App.ControllerContent @navigate '#login' return - # check if auto wizzard is executed - if data.auto_wizzard == true + # check if auto wizard is executed + if data.auto_wizard == true # login check / get session user App.Auth.loginCheck() diff --git a/app/controllers/getting_started_controller.rb b/app/controllers/getting_started_controller.rb index 1278afc26..95a05ff38 100644 --- a/app/controllers/getting_started_controller.rb +++ b/app/controllers/getting_started_controller.rb @@ -35,17 +35,17 @@ curl http://localhost/api/v1/getting_started -v -u #{login}:#{password} return if setup_done_response # check it auto wizard is already done - auto_wizzard_admin = AutoWizzard.setup - if auto_wizzard_admin + auto_wizard_admin = AutoWizard.setup + if auto_wizard_admin # set current session user - current_user_set(auto_wizzard_admin) + current_user_set(auto_wizard_admin) # set system init to done Setting.set( 'system_init_done', true ) render :json => { - :auto_wizzard => true, + :auto_wizard => true, :setup_done => setup_done, :import_mode => Setting.get('import_mode'), :import_backend => Setting.get('import_backend'),