aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/post/main.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-21 02:03:17 +0200
committerThomas Lange <code@nerdmind.de>2021-06-21 02:07:27 +0200
commit70f366ce1d102e4712af2408e6dcf5432b1926c2 (patch)
treee582e476329a432f5642ead3d94e3d7af4d79862 /core/include/post/main.php
parent466420be275aeb0af1abd34639e5a570db50313f (diff)
downloadblog-70f366ce1d102e4712af2408e6dcf5432b1926c2.tar.gz
blog-70f366ce1d102e4712af2408e6dcf5432b1926c2.tar.xz
blog-70f366ce1d102e4712af2408e6dcf5432b1926c2.zip
Use getEntityURL method of Application class
This commit replaces all calls to "$Item->getURL()" with calls to the previously added "getEntityURL" method of the "Application" class.
Diffstat (limited to 'core/include/post/main.php')
-rw-r--r--core/include/post/main.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/post/main.php b/core/include/post/main.php
index 8c65740..537873c 100644
--- a/core/include/post/main.php
+++ b/core/include/post/main.php
@@ -70,7 +70,7 @@ catch(Post\Exception $Exception) {
$Post = Post\Factory::build($param);
}
- HTTP::redirect($Post->getURL());
+ HTTP::redirect(Application::getEntityURL($Post));
}
catch(Post\Exception $Exception) {