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
784f63fc
Commit
784f63fc
authored
Oct 27, 2016
by
Francesc Guasch
Browse files
[#31] Check before view
parent
9f1e575e
Changes
1
Hide whitespace changes
Inline
Side-by-side
rvd_front.pl
View file @
784f63fc
...
...
@@ -199,6 +199,8 @@ any '/machine/manage/*html' => sub {
get
'
/machine/view/*.html
'
=>
sub
{
my
$c
=
shift
;
return
$c
->
redirect_to
('
/login
')
if
!
_logged_in
(
$c
);
return
view_machine
(
$c
);
};
...
...
Write
Preview
Supports
Markdown
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