From 0d1fa7904e38b500b6a29ec2f23571e8346a24cd Mon Sep 17 00:00:00 2001 From: Colin McLeod Date: Sat, 6 Jun 2015 13:58:33 -0700 Subject: [PATCH] Set default standalone app homepage --- app/js/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/js/app.js b/app/js/app.js index bb24ae55..d51a416e 100755 --- a/app/js/app.js +++ b/app/js/app.js @@ -49,6 +49,8 @@ angular.module('app', ['ui.router', 'ct.ui.router.extras.sticky', 'ui.sortable', // If a previous state has been stored, load that state if (state && state.name && state.params) { $state.go(state.name, state.params, {location:'replace'}); + } else { + $state.go('shipyard', null, {location:'replace'}); // Default to home page } }