0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-09 20:02:54 +01:00
discourse-custom-wizard/controllers/steps.rb

12 Zeilen
304 B
Ruby

2017-09-23 04:34:07 +02:00
class CustomWizard::StepsController < ::ApplicationController
def all
respond_to do |format|
format.json do
wizard = CustomWizard::Builder.new(current_user, params[:wizard_id]).build
render_serialized(wizard, WizardSerializer)
end
format.html {}
end
end
end