Skip to content

Commit

Permalink
Revert "Minor update to Redirect class constructor to format the 'fro…
Browse files Browse the repository at this point in the history
…m' and 'to' URLs before setting the local properties."

This reverts commit bf5c36f.
  • Loading branch information
timhiggs committed Mar 9, 2016
1 parent cc2837f commit cdebf97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Redirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class Redirect
*/
public function __construct($from, $to, $statusCode = 301)
{
$this->from = self::formatUrl($from);
$this->to = self::formatUrl($to);
$this->from = $from;
$this->to = $to;
$this->statusCode = $statusCode;
}

Expand Down

0 comments on commit cdebf97

Please sign in to comment.