Revision 58e56a4b
Von Sven Schöling vor mehr als 3 Jahren hinzugefügt
SL/Layout/MaterialMenu.pm | ||
---|---|---|
3 | 3 |
use strict; |
4 | 4 |
use parent qw(SL::Layout::Base); |
5 | 5 |
use SL::Menu; |
6 |
use SL::Controller::Base; |
|
6 | 7 |
|
7 | 8 |
sub init_menu { |
8 | 9 |
SL::Menu->new('mobile'); |
... | ... | |
18 | 19 |
} |
19 | 20 |
|
20 | 21 |
sub pre_content { |
21 |
$_[0]->presenter->render('menu/material', menu => $_[0]->menu); |
|
22 |
$_[0]->presenter->render('menu/material', menu => $_[0]->menu, C => SL::Controller::Base->new);
|
|
22 | 23 |
} |
23 | 24 |
|
24 | 25 |
1; |
Auch abrufbar als: Unified diff
Mobile Menu: Controller für urls