admin) Response::redirect('/home'); Lang::load('menu'); Lang::load('action'); $this->template->user = Session::get('user'); $this->template->js_bottom = ['plex_alert.js']; } public function action_index() { $body = View::forge('admin/index'); $this->template->body = $body; } public function action_servers() { $this->template->js_bottom = ['plex_alert.js', 'server_refresh.js']; $body = View::forge('admin/servers'); $servers = Model_Server::find_all(); $body->set('servers', $servers); $this->template->body = $body; } public function action_users() { $this->template->js_bottom = ['plex_alert.js']; $body = View::forge('admin/users'); $users = Model_User::find_all(); $body->set('users', $users); $this->template->body = $body; } }