mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: You should be an admin to do the wizard
This commit is contained in:
parent
8f7a2cb470
commit
7f66cf618c
5 changed files with 8 additions and 4 deletions
|
@ -6,7 +6,7 @@ class StepsController < ApplicationController
|
|||
|
||||
before_filter :ensure_wizard_enabled
|
||||
before_filter :ensure_logged_in
|
||||
before_filter :ensure_staff
|
||||
before_filter :ensure_admin
|
||||
|
||||
def update
|
||||
wizard = Wizard::Builder.new(current_user).build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue