@ -41,7 +41,7 @@ sub startup {
my $comm = $r->route('/comments') -> to(controller => 'comments');
$comm->post('/add') ->to(action => 'add');
$comm->get ('/get') ->to(action => 'get');
$comm->get ('/new') ->to(action => 'new');
$comm->get ('/new') ->to(action => 'create');
mkdir $self->app->home->rel_dir('data/comments');
}
@ -98,7 +98,7 @@ sub get {
$self->rendered();
sub new {
sub create {
my ($self) = @_;
eval {