Remove initialState properties from most of the routes

initialState in some of the routes where needed because router was
behaving incorrectly when going to 'default state'. Now it is fixed, so
initialState entries are not needed anymore in those places.
This commit is contained in:
Piotr Sarnacki 2012-10-09 03:56:26 +02:00
parent 186ba1dd45
commit e6106a236a
4 changed files with 3 additions and 6 deletions

View File

@ -223,7 +223,6 @@ Travis.Router = Ember.Router.extend
router.get('profileController').activate 'user'
home: Ember.Route.extend
initialState: 'show'
route: '/'
connectOutlets: (router) ->
router.get('applicationController').connectOutlet 'home'
@ -250,7 +249,6 @@ Travis.Router = Ember.Router.extend
router.get('repoController').activate('index')
repo: Ember.Route.extend
initialState: 'show'
route: '/:owner/:name'
routeMatcher: nonHashRouteMatcher
@ -289,7 +287,6 @@ Travis.Router = Ember.Router.extend
builds: Ember.Route.extend
route: '/builds'
initialState: 'index'
index: Ember.Route.extend
route: '/'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
a84cbe90
ea9ff37c