Skip to content

Commit

Permalink
Fix broken redirect that did not work
Browse files Browse the repository at this point in the history
  • Loading branch information
paulej72 committed Apr 13, 2015
1 parent 72fed7a commit 1c58f7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions themes/default/htdocs/index.pl
Original file line number Diff line number Diff line change
Expand Up @@ -307,15 +307,14 @@ sub main {
my $metamod_reader = getObject('Slash::Metamod', { db_type => 'reader' });
$metamod_elig = $metamod_reader->metamodEligible($user);
}
my $return_url = "//".$ENV{HTTP_HOST}.$ENV{REQUEST_URI};


slashDisplay('index', {
metamod_elig => $metamod_elig,
future_plug => $future_plug,
daypass_plug_text => $daypass_plug_text,
stories => $Stories,
boxes => $StandardBlocks,
return_url => $return_url,
});

footer();
Expand Down
2 changes: 1 addition & 1 deletion themes/default/templates/index;index;default
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ __template__
<div id="slashboxes">
[% UNLESS user.noboxes %]
[% UNLESS user.lowbandwidth %]
[% PROCESS userboxes %]
[% PROCESS userboxes return_url = '//soylentnews.org' %]
[% END %]
[% IF boxes;
boxes %]
Expand Down

0 comments on commit 1c58f7d

Please sign in to comment.