Browse Source

* LDV::Comments : rename action

master
Alex 'AdUser' Z 9 years ago
parent
commit
8ca5c4f687
  1. 2
      lib/LDV.pm
  2. 2
      lib/LDV/Comments.pm

2
lib/LDV.pm

@ -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');
}

2
lib/LDV/Comments.pm

@ -98,7 +98,7 @@ sub get {
$self->rendered();
}
sub new {
sub create {
my ($self) = @_;
eval {

Loading…
Cancel
Save