Commit cc9aaac3 authored by gloriarodriguez's avatar gloriarodriguez Committed by Francesc Guasch
Browse files

improve new node #919 (#926)

* improve new node #919

* delete commented line #919
parent 89fa54df
......@@ -1162,7 +1162,7 @@ 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(template => 'main/admin_nodes');
}
return $c->render(template => 'main/new_node');
}
......
Supports Markdown
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