|
@@ -88,7 +88,7 @@ |
|
|
block discarded – undo |
|
88
|
88
|
$repository = Auth::checkRepositoryAccess($repository, false); |
|
89
|
89
|
|
|
90
|
90
|
// Redirect to correct xref/slug |
|
91
|
|
- if ($repository->xref() !== $xref || $request->getAttribute('slug') !== $repository->slug()) { |
|
|
91
|
+ if ($repository->xref() !== $xref || $request->getAttribute('slug') !== $repository->slug()) { |
|
92
|
92
|
return redirect($repository->url(), StatusCodeInterface::STATUS_MOVED_PERMANENTLY); |
|
93
|
93
|
} |
|
94
|
94
|
|
Please login to merge, or discard this patch.