Skip to content

Commit

Permalink
Merge pull request #181 from armababy/master
Browse files Browse the repository at this point in the history
fixes #174
  • Loading branch information
Marc Cámara committed Feb 18, 2015
2 parents 8918b9e + b4ddc5e commit 3dc778b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mcamara/LaravelLocalization/LaravelLocalization.php
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ protected function findTranslatedRouteByPath( $path, $url_locale )
// check if this url is a translated url
foreach ( $this->translatedRoutes as $translatedRoute )
{
if ( $this->translator->trans($translatedRoute, [ ], "", $url_locale) == $path )
if ( $this->translator->trans($translatedRoute, [ ], "", $url_locale) == rawurldecode($path) )
{
return $translatedRoute;
}
Expand Down

0 comments on commit 3dc778b

Please sign in to comment.