3.4 consolidated subsonic actions
This commit is contained in:
parent
b0c3d9e9ab
commit
fb989567cc
18 changed files with 1303 additions and 1077 deletions
41
js/app.js
41
js/app.js
|
@ -52,6 +52,47 @@ JamStash.config(function ($sceDelegateProvider) {
|
|||
// Then
|
||||
$routeParams ==> {chapterId:1, sectionId:2, search:'moby'}
|
||||
*/
|
||||
/*
|
||||
JamStash.config(function ($stateProvider) {
|
||||
$stateProvider
|
||||
.state('root', {
|
||||
url: '',
|
||||
views: {
|
||||
'settings': {
|
||||
url: '/settings',
|
||||
templateUrl: 'js/partials/settings.html',
|
||||
controller: 'SettingsCtrl'
|
||||
},
|
||||
'library': {
|
||||
url: '/library',
|
||||
templateUrl: 'js/partials/library.html',
|
||||
controller: 'SubsonicCtrl'
|
||||
}
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
JamStash.config(function ($stateProvider) {
|
||||
$stateProvider
|
||||
.state('root', {
|
||||
url: '/',
|
||||
templateUrl: 'js/partials/library.html',
|
||||
controller: 'SubsonicCtrl'
|
||||
})
|
||||
.state('settings', {
|
||||
url: '/settings',
|
||||
templateUrl: 'js/partials/settings.html',
|
||||
controller: 'SettingsCtrl'
|
||||
})
|
||||
.state('library', {
|
||||
url: '/library',
|
||||
templateUrl: 'js/partials/library.html',
|
||||
controller: 'SubsonicCtrl'
|
||||
});
|
||||
})
|
||||
|
||||
*/
|
||||
|
||||
JamStash.config(function ($routeProvider) {
|
||||
$routeProvider
|
||||
.when('/index', { redirectTo: '/library' })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue