mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
calendar training slot redirect to fetch of training
This commit is contained in:
parent
f26e211acb
commit
0b1a19cd76
@ -64,6 +64,7 @@ Application.Controllers.controller "CalendarController", ["$scope", "$state", "$
|
||||
if event.available_type == 'event'
|
||||
$state.go('app.public.events_show', {id: event.event_id})
|
||||
else if event.available_type == 'training'
|
||||
$state.go('app.public.training_show', {id: event.training_id})
|
||||
else
|
||||
$state.go('app.public.machines_show', {id: event.machine_id})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user