clarion/app/controllers/api/slots_controller.rb
2024-10-01 01:36:19 +03:00

12 lines
254 B
Ruby

class Api::SlotsController < Api::ApplicationController
include ::CurrentConferenceAssigning
include ::PublicApiExposing
before_action :require_current_conference!
def index
@slots = current_conference.slots
fresh_when @slots
end
end