Skip to content

Commit

Permalink
Added filter to redirect to url
Browse files Browse the repository at this point in the history
  • Loading branch information
lastguest committed Jun 25, 2015
1 parent c9280ec commit 4210d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Redirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Redirect {

public static function to($url){
Response::clean();
Response::header('Location',$url);
Response::header('Location',Filter::with('core.redirect',$url));
Response::send();
exit;
}
Expand Down

0 comments on commit 4210d6f

Please sign in to comment.