Fixing not found urls

stable
Alejandro Alonso 2016-08-29 12:15:46 +02:00
parent cc913a5f99
commit 5918ca1e16
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ configure = ($routeProvider, $locationProvider, $httpProvider, $provide, $tgEven
projectLoaded: ["$q", "tgProjectService", "$route", ($q, projectService, $route) ->
deferred = $q.defer()
projectService.setSection($route.current.$$route.section)
projectService.setSection($route.current.$$route?.section)
if $route.current.params.pslug
projectService.setProjectBySlug($route.current.params.pslug).then(deferred.resolve)