1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-30 11:24:21 +01:00
fab-manager/app/assets/javascripts/controllers/dashboard.coffee
2015-05-05 03:10:25 +02:00

44 lines
1.1 KiB
CoffeeScript

'use strict'
##
# Controller used on the private projects listing page (my dashboard/projects)
##
Application.Controllers.controller "dashboardProjectsController", ["$scope", 'Member', ($scope, Member) ->
## Current user's profile
$scope.user = Member.get {id: $scope.currentUser.id}
]
##
# Controller used on the personal trainings page (my dashboard/trainings)
##
Application.Controllers.controller "dashboardTrainingsController", ["$scope", 'Member', ($scope, Member) ->
## Current user's profile
$scope.user = Member.get {id: $scope.currentUser.id}
]
##
# Controller used on the private events page (my dashboard/events)
##
Application.Controllers.controller "dashboardEventsController", ["$scope", 'Member', ($scope, Member) ->
## Current user's profile
$scope.user = Member.get {id: $scope.currentUser.id}
]
##
# Controller used on the personal invoices listing page (my dashboard/invoices)
##
Application.Controllers.controller "dashboardInvoicesController", ["$scope", 'Member', ($scope, Member) ->
## Current user's profile
$scope.user = Member.get {id: $scope.currentUser.id}
]