1
0
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:
Peng DU 2016-07-13 19:25:02 +02:00
parent f26e211acb
commit 0b1a19cd76

View File

@ -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})