Move all controllers into page definitions and add support for layout profiles
This commit is contained in:
parent
f650479266
commit
d6d11644d8
34 changed files with 3744 additions and 3428 deletions
12
static/js/pages/tour.js
Normal file
12
static/js/pages/tour.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
(function() {
|
||||
/**
|
||||
* The site tour page.
|
||||
*/
|
||||
angular.module('quayPages').config(['pages', function(pages) {
|
||||
pages.create('tour', 'tour.html', TourCtrl);
|
||||
}]);
|
||||
|
||||
function TourCtrl($scope, $location) {
|
||||
$scope.kind = $location.path().substring('/tour/'.length);
|
||||
}
|
||||
})();
|
Reference in a new issue