소스 검색

handle missing settings.apis.project_history

Hayden Faulds 9 년 전
부모
커밋
c437eb37d5
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      services/web/app/coffee/Features/History/HistoryController.coffee

+ 1 - 1
services/web/app/coffee/Features/History/HistoryController.coffee

@@ -21,7 +21,7 @@ module.exports = HistoryController =
 			next(error)
 
 	buildHistoryServiceUrl: () ->
-		if settings.apis.project_history.enabled
+		if settings.apis.project_history?.enabled
 			return settings.apis.project_history.url
 		else
 			return settings.apis.trackchanges.url