Rename routes to follow the same pattern
This commit is contained in:
parent
fc4b9d439b
commit
82ac226fc1
15 changed files with 89 additions and 89 deletions
|
|
@ -62,7 +62,7 @@
|
|||
|
||||
this.teamService.create(this.team)
|
||||
.then(response => {
|
||||
router.push({name: 'editTeam', params: {id: response.id}})
|
||||
router.push({name: 'teams.edit', params: {id: response.id}})
|
||||
this.success({message: 'The team was successfully created.'}, this)
|
||||
})
|
||||
.catch(e => {
|
||||
|
|
|
|||
Reference in a new issue