redirect to overview instead of edit after creating a new Character title
This commit is contained in:
parent
c47da1a456
commit
d55baf6c48
1 changed files with 10 additions and 2 deletions
|
|
@ -129,8 +129,16 @@
|
||||||
);
|
);
|
||||||
$title = $this->Charactertitles->getTitleById($titleId);
|
$title = $this->Charactertitles->getTitleById($titleId);
|
||||||
|
|
||||||
// Redirect to editing
|
// Redirect to overview
|
||||||
$this->redirect($this->linker->link(array('edit', $seminary['url'], $title['hash']), 1));
|
$this->redirect(
|
||||||
|
$this->linker->link(
|
||||||
|
array(
|
||||||
|
'index',
|
||||||
|
$seminary['url']
|
||||||
|
),
|
||||||
|
1
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue