FIX: You should be an admin to do the wizard

This commit is contained in:
Robin Ward
2016-09-22 11:12:34 -04:00
parent 8f7a2cb470
commit 7f66cf618c
5 changed files with 8 additions and 4 deletions

View File

@ -4,7 +4,7 @@ require_dependency 'wizard/builder'
class WizardController < ApplicationController
before_filter :ensure_wizard_enabled, only: [:index]
before_filter :ensure_logged_in
before_filter :ensure_staff
before_filter :ensure_admin
skip_before_filter :check_xhr, :preload_json