<%init>

my $nav = Jifty->web->navigation->child("Administration" => url => '/__jifty/admin/');
foreach my $model (Jifty->class_loader->models) {
    next unless $model->isa('Jifty::Record');
    next unless ($model =~ /^(?:.*)::(.*?)$/);
    my $type = $1;
    $nav->child($type   => url => '/__jifty/admin/model/'.$type);
}
return;
</%init>
