mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-01-09 06:02:06 -05:00
25 lines
417 B
Ruby
25 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
|