projects
/
gruntmaster-page.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e2be9f
)
Fix redirect after submit
author
Marius Gavrilescu
<marius@ieval.ro>
Mon, 24 Mar 2014 18:58:20 +0000
(20:58 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Mon, 24 Mar 2014 18:58:20 +0000
(20:58 +0200)
lib/Gruntmaster/Page/Submit.pm
patch
|
blob
|
blame
|
history
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.010728 seconds
and
4
git commands to generate.