From 24a2ea061ecac858d2ed1c2be90d22234a775c70 Mon Sep 17 00:00:00 2001 From: Salvatore Iovene Date: Fri, 28 Sep 2012 14:50:59 +0300 Subject: [PATCH] [Calf] Uses actions for links. --- example/index.html | 6 +++--- example/javascripts/app/router.js | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/example/index.html b/example/index.html index 325dc0a..7e5a726 100644 --- a/example/index.html +++ b/example/index.html @@ -34,9 +34,9 @@ diff --git a/example/javascripts/app/router.js b/example/javascripts/app/router.js index aa27cbb..f494552 100644 --- a/example/javascripts/app/router.js +++ b/example/javascripts/app/router.js @@ -3,7 +3,10 @@ var Router = Ember.Router.extend({ location: 'none', + root: Ember.Route.extend({ + showArtists: Ember.Route.transitionTo('index'), + index: Ember.Route.extend({ route: '/', connectOutlets: function(router) { -- 2.7.4