This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/js/pages/tour.js
2015-11-02 14:37:48 -05:00

15 lines
No EOL
381 B
JavaScript

(function() {
/**
* The site tour page.
*/
angular.module('quayPages').config(['pages', function(pages) {
pages.create('tour', 'tour.html', TourCtrl, {
'title': 'Feature Tour',
'description': 'Take a tour of Quay\'s features'
});
}]);
function TourCtrl($scope, $location) {
$scope.kind = $location.path().substring('/tour/'.length);
}
})();