Small style tweaks
This commit is contained in:
parent
d32e3a9c2b
commit
121ed5ab52
|
@ -52,15 +52,14 @@ under sub ($c) {
|
||||||
|
|
||||||
$c->stash(
|
$c->stash(
|
||||||
post_count => format_number($c->message->get_post_count),
|
post_count => format_number($c->message->get_post_count),
|
||||||
|
this_url => $c->req->url->to_abs(),
|
||||||
visitor_count => format_number($c->counter->get_visitor_count)
|
visitor_count => format_number($c->counter->get_visitor_count)
|
||||||
);
|
);
|
||||||
|
|
||||||
1;
|
1;
|
||||||
};
|
};
|
||||||
|
|
||||||
get '/' => sub ($c) {
|
get '/' => sub ($c) { $c->redirect_to('view') };
|
||||||
$c->redirect_to('view');
|
|
||||||
};
|
|
||||||
|
|
||||||
any [qw{GET POST}], '/sign' => sub ($c) {
|
any [qw{GET POST}], '/sign' => sub ($c) {
|
||||||
my $v = $c->validation();
|
my $v = $c->validation();
|
||||||
|
|
Loading…
Reference in a new issue