Refactor /calendars into it's own controller

Spec it out too
This commit is contained in:
Henne Vogelsang 2021-03-08 13:18:03 +01:00
parent 6e276b2787
commit f23d1f04b5
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
7 changed files with 128 additions and 74 deletions

View file

@ -198,6 +198,8 @@ Osem::Application.routes.draw do
end
end
resources :calendars, only: :index
namespace :api, defaults: {format: 'json'} do
namespace :v1 do
resources :conferences, only: [ :index, :show ] do