clarion/app/controllers/api/conferences_controller.rb

9 lines
177 B
Ruby
Raw Permalink Normal View History

2023-10-30 21:08:38 +02:00
class Api::ConferencesController < Api::ApplicationController
include ::PublicApiExposing
def index
@conferences = Conference.all
2024-10-01 01:36:19 +03:00
fresh_when @conferences
2023-10-30 21:08:38 +02:00
end
end