*/ class Users extends MY_Controller { /** * Calls the parent constructor. */ public function __construct() { parent::__construct(); $this->load->model('experiment'); } /** * Shows a users profile. * * @param string $username */ public function profile($username) { $data['user'] = $this->user->profile(urldecode($username)); $this->load->view('users/profile', $data); } } /* End of file users.php */ /* Location: ./application/controllers/users.php */