projects
/
mdref
/
mdref
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
static generation does not work with overlapping namespaces
[mdref/mdref]
/
mdref
/
Action.php
diff --git
a/mdref/Action.php
b/mdref/Action.php
index 3e318be34d4d45af301d5da2309fa35adcea7d90..37b3d51321ebab4400b8400420b621f91e07d5ec 100644
(file)
--- a/
mdref/Action.php
+++ b/
mdref/Action.php
@@
-59,7
+59,7
@@
class Action extends Observer {
*/
private function serveCanonical($ctl, $cnn) {
$ctl->detachAll(Observer\View::class);
*/
private function serveCanonical($ctl, $cnn) {
$ctl->detachAll(Observer\View::class);
- $ctl->getResponse()->setHeader("Location", $this->baseUrl->mod(
$cnn
));
+ $ctl->getResponse()->setHeader("Location", $this->baseUrl->mod(
["path" => $cnn]
));
$ctl->getResponse()->setResponseCode(301);
}
$ctl->getResponse()->setResponseCode(301);
}