Browse Source

* move curly brace

master
Alex 'AdUser' Z 10 years ago
parent
commit
d6977aa210
  1. 12
      lib/LDV/Zerobin.pm

12
lib/LDV/Zerobin.pm

@ -17,8 +17,7 @@ sub _paste_path {
return $self->app->home->rel_file("$root/$time.json");
}
sub create
{
sub create {
my ($self) = @_;
my @syntax = ('auto');
@ -30,8 +29,7 @@ sub create
$self->render();
}
sub view
{
sub view {
my ($self) = @_;
my $time = $self->stash('time');
@ -59,8 +57,7 @@ sub view
$self->render();
}
sub save
{
sub save {
my ($self) = @_;
eval {
@ -93,8 +90,7 @@ sub save
return 1;
}
sub prune
{
sub prune {
my ($self) = @_;
eval {

Loading…
Cancel
Save