Sha256: 898a83cc75bb2d891ff72a50897354d8ef147afc107093ab8116ef2be8264485
Contents?: true
Size: 403 Bytes
Versions: 3
Compression:
Stored size: 403 Bytes
Contents
(function() { app.config([ '$routeProvider', function($routeProvider) { return $routeProvider.when('/songs/:songIdentifier', { title: 'Song', templateUrl: 'static/songs/show', controller: 'SongController as songCtrl' }).when('/', { template: 'Choose a song on the left' }).otherwise({ redirectTo: '/' }); } ]); }).call(this);
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
songbooks-0.1.2 | public/javascripts/routes.js |
songbooks-0.1.1 | public/javascripts/routes.js |
songbooks-0.1.0 | public/javascripts/routes.js |