Have the Events view view (not index) use the popup layout

This commit is contained in:
Kyle Johnson 2013-09-19 11:31:54 -04:00
parent 0223aeb3ab
commit f8db56b308
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ public function index() {
}
public function view($id = null) {
$this->layout = 'popup';
if (!$id) {
throw new NotFoundException(__('Invalid event'));
}