discourse/app/controllers/wizard_controller.rb
2016-09-22 09:48:58 -04:00

26 lines
417 B
Ruby

require_dependency 'wizard'
class WizardController < ApplicationController
before_filter :ensure_logged_in
before_filter :ensure_staff
skip_before_filter :check_xhr, :preload_json
layout false
def index
respond_to do |format|
format.json do
wizard = Wizard.build
render_serialized(wizard, WizardSerializer)
end
format.html {}
end
end
def qunit
end
end