|
|
@ -23,7 +23,7 @@ sub create |
|
|
|
|
|
|
|
|
|
|
|
my @syntax = ('auto'); |
|
|
|
my @syntax = ('auto'); |
|
|
|
my $langs = $self->app->config->{zerobin}->{syntax}; |
|
|
|
my $langs = $self->app->config->{zerobin}->{syntax}; |
|
|
|
push @syntax, {'-------' => $langs} |
|
|
|
push @syntax, $self->c('-------' => $langs) |
|
|
|
if (ref($langs) eq 'ARRAY'); |
|
|
|
if (ref($langs) eq 'ARRAY'); |
|
|
|
|
|
|
|
|
|
|
|
$self->stash({syntax => \@syntax}); |
|
|
|
$self->stash({syntax => \@syntax}); |
|
|
|