From 5918ca1e16a3ed326a2433c1d78b806b4261fb3b Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Mon, 29 Aug 2016 12:15:46 +0200 Subject: [PATCH] Fixing not found urls --- app/coffee/app.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/app.coffee b/app/coffee/app.coffee index e538a865..ccc7247c 100644 --- a/app/coffee/app.coffee +++ b/app/coffee/app.coffee @@ -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)