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:
parent
186ba1dd45
commit
e6106a236a
|
@ -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
|
@ -1 +1 @@
|
|||
a84cbe90
|
||||
ea9ff37c
|
Loading…
Reference in New Issue
Block a user