$time = $time_travel;
}
- my $path = '/tmp/changes/';
+ my $path = '/tmp/actions/';
mkdir $path unless -e $path;
$path .= sprintf '%.4f.%s', $time, join('.', @$parts);
}
}
+use MojoFacets::Plugin::NYTProf;
# This method will run once at server start
sub startup {
my $r = $self->routes;
# Default route
- $r->route('/:controller/:action/:id')->to('data#index', id => 1);
+ $r->route('/:controller/:action/:id')->to('data#index', id => 0);
# $self->plugin( 'request_timer' );
save_tx( $self, $tx );
}
);
+
+ MojoFacets::Plugin::NYTProf->register( $self );
}