Commit 05ec86f1 authored by gloria's avatar gloria
Browse files

improve new node #919

parent 89fa54df
......@@ -1162,7 +1162,8 @@ sub new_node {
$c->req->params->remove('_submit');
my $pairs = $c->req->params()->pairs;
$RAVADA->add_node(@$pairs);
return $c->render(text => 'node created. <a href ="/admin/nodes/">nodes</a> ');
#return $c->render(text => 'node created. <a href ="/admin/nodes/">nodes</a> ');
return $c->render(template => 'main/admin_nodes');
}
return $c->render(template => 'main/new_node');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment