Sha256: 21ac94f0130718e11347d5b7f0058444e43db1f2559851cd8679197fd7c7d6a9
Contents?: true
Size: 442 Bytes
Versions: 9
Compression:
Stored size: 442 Bytes
Contents
class Manage::CheckinsController < Manage::ApplicationController before_action :set_questionnaire, only: [:show] respond_to :html, :json def index respond_with(:manage, Questionnaire.all) end def datatable render json: CheckinDatatable.new(view_context) end def show respond_with(:manage, @questionnaire) end private def set_questionnaire @questionnaire = ::Questionnaire.find(params[:id]) end end
Version data entries
9 entries across 9 versions & 1 rubygems