1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-13 00:24:15 +02:00

Code cleanup and refactoring #5

This commit is contained in:
Awilum
2018-03-17 12:32:36 +03:00
parent 22af4fd926
commit 866fe37b37

View File

@@ -52,13 +52,6 @@ class Pages
Events::dispatch('onPageAfterRender');
}
protected static function pageShortcodes() {
// {site_url}
$this->rawilum['shortcodes']->add('site_url', function() {
return Url::getBase();
});
}
/**
* Page finder
*/