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