mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Rename the 'app' folder to 'res', because it can currently contain many apps.
This commit is contained in:
parent
5f8e617393
commit
50a9de1875
18 changed files with 2 additions and 2 deletions
17
res/app/scripts/routes.js
Normal file
17
res/app/scripts/routes.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
define(['./app'], function(app) {
|
||||
return app.config([
|
||||
'$routeProvider'
|
||||
, '$locationProvider'
|
||||
, function($routeProvider, $locationProvider) {
|
||||
$locationProvider.html5Mode(true)
|
||||
$routeProvider
|
||||
.when('/', {
|
||||
templateUrl: 'partials/signin'
|
||||
, controller: 'SignInCtrl'
|
||||
})
|
||||
.otherwise({
|
||||
redirectTo: '/'
|
||||
})
|
||||
}
|
||||
])
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue