module Api
module V1
class SurverUserinputController < Api::V1::VersionController
def index
@survey = current_client.surveys.friendly.find params[:survey_id]
@questions = @survey.questions.order(order: :asc)
end
def show
@survey = current_client.surveys.friendly.find params[:survey_id]
@question = @survey.questions.find params[:id]
end
end
end
end
Recent Comments