Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
05ec86f1
Commit
05ec86f1
authored
Nov 06, 2018
by
gloria
Browse files
improve new node #919
parent
89fa54df
Changes
1
Hide whitespace changes
Inline
Side-by-side
rvd_front.pl
View file @
05ec86f1
...
...
@@ -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
');
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment