refactor: rebrand Trunçgil Akademi theme from yellow to teal and add route alias for the academy page.
This commit is contained in:
@@ -71,13 +71,14 @@ class PageController extends Controller
|
||||
return $this->handleShow('truncgil-akademi');
|
||||
}
|
||||
|
||||
/**
|
||||
* Unified show logic
|
||||
*/
|
||||
protected function handleShow($slug)
|
||||
{
|
||||
$settings = $this->getSettings();
|
||||
|
||||
if ($slug === 'akademi') {
|
||||
$slug = 'truncgil-akademi';
|
||||
}
|
||||
|
||||
// Redirection logic disabled for rendering the page locally on main domain.
|
||||
|
||||
// 1. Statik View Kontrolü
|
||||
|
||||
Reference in New Issue
Block a user