Permalink
Browse files

Added new overlay to router and to listOverlays view

  • Loading branch information...
1 parent 4da0fe6 commit 168b8913c9a722a5af45afc59f5677a7e6a54242 @jrasky jrasky committed Sep 23, 2012
@@ -5,6 +5,7 @@ $(function($) {
routes: {
'overlays/': 'listOverlays',
'overlay/:overlay_id': 'showOverlay',
+ 'overlay/new': 'newOverlay',
'': 'root'
},
@@ -38,6 +38,7 @@ $(function($) {
app.views.ListOverlaysView = app.views.View.extend({
template: '<h1>Choose an overlay:</h1>' +
+ '<a href="#overlay/new">New Overlay</a>' +
'{{debug}}' +
'<ul>' +
'{{#each overlays }}' +

0 comments on commit 168b891

Please sign in to comment.