redirect to overview instead of edit after creating a new Character title
This commit is contained in:
parent
74b093a61f
commit
699d1aaa84
|
@ -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…
Reference in a new issue