refactored ConferencesController#calendar: separated calendar event creation into an specific service
This commit is contained in:
parent
6e276b2787
commit
69c06b4229
6 changed files with 249 additions and 34 deletions
|
|
@ -215,7 +215,7 @@ Osem::Application.routes.draw do
|
|||
|
||||
get '/admin' => redirect('/admin/conferences')
|
||||
|
||||
get '/calendar' => 'conferences#calendar'
|
||||
get '/calendar' => 'conferences#calendar', action: :calendar
|
||||
|
||||
if ENV.fetch('OSEM_ROOT_CONFERENCE', nil)
|
||||
root to: redirect("/conferences/#{ENV.fetch('OSEM_ROOT_CONFERENCE')}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue