Skip to content

Commit fc15f75

Browse files
committed
Add a hidden redirection from who_pumpkin to perl_releasers
1 parent 7fe8d42 commit fc15f75

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

lib/pause_2017/PAUSE/Web/Config.pm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ our %Actions = (
9393
cat => "02serv/05",
9494
desc => "A list, also available as YAML",
9595
},
96+
who_pumpkin => {
97+
x_mojo_to => "public#pumpkin",
98+
priv => "public",
99+
display => 0,
100+
},
96101
who_admin => {
97102
x_mojo_to => "public#admin",
98103
verb => "List of admins",

lib/pause_2017/PAUSE/Web/Controller/Public.pm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,13 @@ sub privacy_policy {
168168
$c->serve_pause_doc("doc/privacy-policy.md")
169169
}
170170

171+
sub pumpkin {
172+
my $c = shift;
173+
my $pause = $c->stash(".pause");
174+
local $pause->{Action} = 'perl_releasers';
175+
$c->redirect_to($c->my_url);
176+
}
177+
171178
sub perl_releasers {
172179
my $c = shift;
173180
my $pause = $c->stash(".pause");

0 commit comments

Comments
 (0)