Skip to content

Commit

Permalink
last version
Browse files Browse the repository at this point in the history
  • Loading branch information
Anatoly Sharifulin committed Mar 31, 2014
1 parent e12d4b0 commit 26ae87f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious/Plugin/UtilHelpers.pm
Expand Up @@ -213,7 +213,7 @@ sub text {

$app->helper(format_digital => sub {
my $self = shift;
my $d = shift || return;
my $d = shift || return 0;
my $sep = shift || ' ';

return $d if $d < 10_000;
Expand Down Expand Up @@ -328,7 +328,7 @@ sub route {
$one->route('/edit')->post->to('#edit');
$one->route('/remove')->to('#remove')->name($rname.'_remove');

$t->route('/:filter')->get->to('#list')->name($rname);
$t->route('/:filter')->get->to('#list')->name($rname.'_filter');
});
}

Expand Down

0 comments on commit 26ae87f

Please sign in to comment.