hack to force us to the food delivery page for existing users
This commit is contained in:
parent
6b50bb7d35
commit
47e9c87130
@ -34,8 +34,15 @@ NGApp.controller('HomeCtrl', function ($scope, $http, $location, RestaurantsServ
|
||||
if (!App.isPhoneGap) {
|
||||
location.init();
|
||||
}
|
||||
|
||||
|
||||
var restaurants = RestaurantsService;
|
||||
|
||||
// @hack
|
||||
// just force the location to the food-delivery page. if we dont have a loc it sends us back to location anyway
|
||||
$location.path( '/' + restaurants.permalink );
|
||||
return;
|
||||
|
||||
/*
|
||||
restaurants.list(
|
||||
// Success
|
||||
function(){
|
||||
@ -46,6 +53,7 @@ NGApp.controller('HomeCtrl', function ($scope, $http, $location, RestaurantsServ
|
||||
$location.path( '/location' );
|
||||
}
|
||||
);
|
||||
*/
|
||||
});
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user