Have the Events view view (not index) use the popup layout
This commit is contained in:
parent
0223aeb3ab
commit
f8db56b308
|
@ -49,6 +49,8 @@ public function index() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function view($id = null) {
|
public function view($id = null) {
|
||||||
|
$this->layout = 'popup';
|
||||||
|
|
||||||
if (!$id) {
|
if (!$id) {
|
||||||
throw new NotFoundException(__('Invalid event'));
|
throw new NotFoundException(__('Invalid event'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue