@@ -82,7 +82,7 @@ |
||
| 82 | 82 | $repository = Auth::checkRepositoryAccess($repository, false); |
| 83 | 83 | |
| 84 | 84 | // Redirect to correct xref/slug |
| 85 | - if ($repository->xref() !== $xref || $request->getAttribute('slug') !== $repository->slug()) { |
|
| 85 | + if ($repository->xref() !== $xref || $request->getAttribute('slug') !== $repository->slug()) { |
|
| 86 | 86 | return redirect($repository->url()); |
| 87 | 87 | } |
| 88 | 88 | |