lib/public/javascripts/angular/routes.js in memcached-manager-0.4.0 vs lib/public/javascripts/angular/routes.js in memcached-manager-1.0.0
- old
+ new
@@ -11,9 +11,35 @@
templateUrl: window.basePath + '/templates/stats.html.erb',
controller: 'StatsController'
}
}
})
+ .state('showStats', {
+ url: "/stats",
+ views: {
+ "keys": {
+ templateUrl: window.basePath + "/templates/keys.html.erb",
+ controller: 'ListKeysController'
+ },
+ "key": {
+ templateUrl: window.basePath + '/templates/stats.html.erb',
+ controller: 'StatsController'
+ }
+ }
+ })
+ .state('editConfig', {
+ url: '/config',
+ views: {
+ "keys": {
+ templateUrl: window.basePath + "/templates/keys.html.erb",
+ controller: 'ListKeysController'
+ },
+ 'key': {
+ templateUrl: window.basePath + '/templates/config.html.erb',
+ controller: 'EditConfigController'
+ }
+ }
+ })
.state('processingRequest', {
url: "/processing",
views: {
"keys": {
templateUrl: window.basePath + "/templates/keys.html.erb",