Commit 21f9ba31645a716b72dfa4f4d298a4f616f6341c
1 parent
4d7dab16fa
Exists in
master
and in
1 other branch
commit route
Showing 1 changed file with 1 additions and 1 deletions Inline Diff
app/scripts/routes.js
1 | define([], function(){ | 1 | define([], function(){ |
2 | 'use strict'; | 2 | 'use strict'; |
3 | return { | 3 | return { |
4 | defaultRoutePaths: '/1', | 4 | defaultRoutePaths: '/1/place_1', |
5 | routes: { | 5 | routes: { |
6 | '/:tShirt/:place': { | 6 | '/:tShirt/:place': { |
7 | templateUrl: 'views/main.html', | 7 | templateUrl: 'views/main.html', |
8 | dependencies: [ | 8 | dependencies: [ |
9 | 'scripts/controllers/main.js', | 9 | 'scripts/controllers/main.js', |
10 | 'scripts/controllers/tshirtdesign.js', | 10 | 'scripts/controllers/tshirtdesign.js', |
11 | 'scripts/services/illustration.js', | 11 | 'scripts/services/illustration.js', |
12 | 'scripts/services/tshirt.js' | 12 | 'scripts/services/tshirt.js' |
13 | ] | 13 | ] |
14 | }, | 14 | }, |
15 | } | 15 | } |
16 | }; | 16 | }; |
17 | }); | 17 | }); |