projects
/
gruntmaster-page.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix redirect after submit
[gruntmaster-page.git]
/
lib
/
Gruntmaster
/
Page
/
Submit.pm
diff --git
a/lib/Gruntmaster/Page/Submit.pm
b/lib/Gruntmaster/Page/Submit.pm
index 5f7d7279006a0d0804c04e28fd537537e6d07d8e..0c42de9ff1252058018c527be1702d5ff54c235e 100644
(file)
--- a/
lib/Gruntmaster/Page/Submit.pm
+++ b/
lib/Gruntmaster/Page/Submit.pm
@@
-43,7
+43,7
@@
sub generate{
$contest //= '';
#PUBLISH 'jobs', "$contest.$job";
- [303, [Location =>
$r->path =~ s,/pb/\w+/submit$,/log/,r
], ['']]
+ [303, [Location =>
($contest ? "/ct/$contest/log/" : '/log/')
], ['']]
}
1
This page took
0.009197 seconds
and
4
git commands to generate.