title: Can't access custom view in CodeIgniter
body: <p>I'm having problem when it comes to accessing the custom view that I made in CodeIgniter. Whenever I want to navigate to a list in which I am making as an app, it gives me a message saying, <strong>404 Page Not Found</strong> even though I included the model I created in the autoload.php in the config folder. Here are some of my code in the list app that I am creating:</p>
  
  <p>Here is my code in my controller called lists.php:</p>
  
  <pre><code>&lt;?php 
  
      class Lists extends CI_Controller{
      // Display a specific list
      public function display_list($list_id){
  
          //display information about the list
          $data['list_data'] = $this-&gt;lists_model-&gt;get_list($list_id);
  
          $data['main_view'] = 'project_views/lists/display_list';
  
          $this-&gt;load-&gt;view('project_views/layouts/main', $data);
      }
  ?&gt;
  </code></pre>
  
  <p>Here is my code in my model called lists_model.php:</p>
  
  <pre><code>&lt;?php 
  
      class Lists_model extends CI_Model{
  
      public function get_list($list_id){
              $this-&gt;db-&gt;where('id', $list_id);
              $query = $this-&gt;db-&gt;get('lists');
  
              return $query-&gt;row();
          }
  ?&gt;
  </code></pre>
  
  <p>Here is my code in my view called display_list.php</p>
  
  <pre><code>&lt;div class="col-xs-9"&gt;
  
      &lt;h3&gt;List Name:&lt;?php echo $list_data-&gt;list_name;?&gt;&lt;/h3&gt;
      &lt;h3&gt;Created by:&lt;?php echo $list_data-&gt;list_creator;?&gt;&lt;/h3&gt;
      &lt;h3&gt;Lists Details:&lt;/h3&gt;
      &lt;p class="lists-description"&gt;
          &lt;?php echo $list_data-&gt;list_details;?&gt;
      &lt;/p&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>Here is my code in my index.php in my views folder:</p>
  
  <pre><code>&lt;h1&gt;Lists made with Takenote&lt;/h1&gt;
  &lt;p class="bg-success"&gt;
  
      &lt;?php if($this-&gt;session-&gt;flashdata('list_created')): ?&gt;
      &lt;?php echo $this-&gt;session-&gt;flashdata('list_created'); ?&gt;
      &lt;?php endif; ?&gt;
  
      &lt;?php if($this-&gt;session-&gt;flashdata('list_updated')): ?&gt;
      &lt;?php echo $this-&gt;session-&gt;flashdata('list-updated'); ?&gt;
      &lt;?php endif; ?&gt;
  
      &lt;?php if($this-&gt;session-&gt;flashdata('list_deleted')): ?&gt;
      &lt;?php echo $this-&gt;session-&gt;flashdata('list_deleted'); ?&gt;
      &lt;?php endif; ?&gt;
  &lt;/p&gt;
  
  &lt;div class="panel panel-primary"&gt;
      &lt;div class="panel-heading"&gt;&lt;h3&gt;Lists&lt;/h3&gt;&lt;/div&gt;
      &lt;div class="panel-body"&gt;
          &lt;ul class="list-group"&gt;
  
              &lt;?php foreach($lists as $list): ?&gt;
  
              &lt;li class="list-group-item"&gt;
                  &lt;a href="&lt;?php echo base_url();?&gt;project_controllers/lists/create" class="btn btn-success pull-right"&gt;
                      Create a List
                  &lt;/a&gt;
                  &lt;h3 align="center"&gt;
                      &lt;a href="&lt;?php echo base_url();?&gt;project_contollers/lists/display_list/&lt;?php echo $list-&gt;id;?&gt;"&gt;
                          &lt;?php echo $list-&gt;list_name; ?&gt;
                      &lt;/a&gt;            
                  &lt;/h3&gt;
              &lt;/li&gt;
          &lt;?php endforeach; ?&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I even included the model I created in the autoload.php in the config folder:</p>
  
  <pre><code>$autoload['model'] = array('project_models/user_model', 'project_models/project_model', 'project_models/tasks_model', 'project_models/lists_model');
  </code></pre>
  
  <p>However, even after doing this, I still get a message saying <strong>404 Page Not Found</strong> when I try to navigate to a specific list:</p>