diff --git a/application/controllers/settings/About.php b/application/controllers/About.php similarity index 93% rename from application/controllers/settings/About.php rename to application/controllers/About.php index 6891d5f2..3e60a6b3 100644 --- a/application/controllers/settings/About.php +++ b/application/controllers/About.php @@ -57,9 +57,9 @@ class About extends EA_Controller { */ public function index() { - session(['dest_url' => site_url('services')]); + session(['dest_url' => site_url('about')]); - if (cannot('view', 'services')) + if (cannot('view', 'user_settings')) { show_error('Forbidden', 403); } @@ -68,7 +68,7 @@ class About extends EA_Controller { $role_slug = session('role_slug'); - $this->load->view('pages/settings/about_page', [ + $this->load->view('pages/about', [ 'page_title' => lang('settings'), 'active_menu' => PRIV_SYSTEM_SETTINGS, 'user_display_name' => $this->accounts->get_user_display_name($user_id), diff --git a/application/views/pages/settings/about_page.php b/application/views/pages/about.php similarity index 100% rename from application/views/pages/settings/about_page.php rename to application/views/pages/about.php