mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-22 16:20:44 +01:00
19 lines
460 B
JavaScript
19 lines
460 B
JavaScript
define([
|
|
'app'
|
|
], function(app) {
|
|
app.config(function($stateProvider, $urlRouterProvider, $locationProvider, $couchPotatoProvider) {
|
|
$locationProvider.html5Mode(true);
|
|
|
|
$urlRouterProvider.otherwise('/');
|
|
|
|
$stateProvider.state('login', {
|
|
url: '/',
|
|
pageTitle: "Sign In",
|
|
templateUrl: "/view/auth/login",
|
|
controller: "SignInCtrl",
|
|
resolve: {
|
|
dummy: $couchPotatoProvider.resolveDependencies(['controllers/auth/login'])
|
|
}
|
|
})
|
|
});
|
|
}); |