Don't specify index routes
They're generated by default
This commit is contained in:
parent
cc8219ba7a
commit
a39d031925
|
@ -72,9 +72,7 @@ Travis.Router.map ->
|
||||||
@route 'auth', path: '/auth'
|
@route 'auth', path: '/auth'
|
||||||
|
|
||||||
@resource 'profile', path: '/profile', ->
|
@resource 'profile', path: '/profile', ->
|
||||||
@route 'index', path: '/'
|
|
||||||
@resource 'account', path: '/:login', ->
|
@resource 'account', path: '/:login', ->
|
||||||
@route 'index', path: '/'
|
|
||||||
@route 'profile', path: '/profile'
|
@route 'profile', path: '/profile'
|
||||||
|
|
||||||
@route 'notFound', path: "/*path"
|
@route 'notFound', path: "/*path"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user