Skip to content

Commit

Permalink
Merge pull request #2 from chocofamilyme/fix-script-name
Browse files Browse the repository at this point in the history
script_name изменен с url в его паттерн
  • Loading branch information
Vadim89 authored Jan 28, 2020
2 parents 52693b8 + d3ce307 commit 2b3d794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middlewares/RightUrlMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RightUrlMiddleware
public function handle($request, Closure $next)
{
$return = $next($request);
Pinba::setScriptName($request->getPathInfo());
Pinba::setScriptName($request->route()->uri);
return $return;
}
}

0 comments on commit 2b3d794

Please sign in to comment.