projects
/
plack-app-gruntmaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a4acac
)
Remove unnecessary forbids
author
Marius Gavrilescu
<marius@ieval.ro>
Tue, 3 Mar 2015 17:04:17 +0000
(19:04 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Tue, 3 Mar 2015 17:04:17 +0000
(19:04 +0200)
lib/Plack/App/Gruntmaster.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Plack/App/Gruntmaster.pm
b/lib/Plack/App/Gruntmaster.pm
index 814c70ff273ac8108cf31fad3eb736323cd6d008..bd8a90469fc79155ff223a18b1b7b8c7e7da2b20 100644
(file)
--- a/
lib/Plack/App/Gruntmaster.pm
+++ b/
lib/Plack/App/Gruntmaster.pm
@@
-107,18
+107,6
@@
sub dispatch_request{
[200, \@headers, [job->source]]
},
- sub (?:contest=) {
- return NOT_FOUND if !contest;
- forbid contest->is_pending;
- response_filter { return shift }
- },
-
- sub (?:problem=) {
- return NOT_FOUND if !problem;
- forbid problem->private;
- response_filter { return shift }
- },
-
sub (?:format~) {
my $format = lc ($_{format} // '');
response_filter {
This page took
0.020354 seconds
and
4
git commands to generate.