Moved the about controller and renamed the view file
This commit is contained in:
parent
523db7e5e3
commit
622a4e9390
2 changed files with 3 additions and 3 deletions
|
@ -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),
|
Loading…
Reference in a new issue