title: Rails issue with rendering
body: <p>so I'm new to rails and currently going through a tutorial for it on tutorialspoint. What I've gotten so far is a controller and a corresponding view for it which is an erb file. This is the code for the view:</p>
  
  <pre><code>&lt;% if @books.blank? %&gt;
  &lt;p&gt;There are not any books currently in the system.&lt;/p&gt;
  &lt;% else %&gt;
  &lt;p&gt;These are the current books in our system&lt;/p&gt;
  
  &lt;ul id = "books"&gt;
     &lt;% @books.each do |c| %&gt;
     &lt;li&gt;&lt;%= link_to c.title, {:action =&gt; 'show', :id =&gt; c.id} -%&gt;&lt;/li&gt;
     &lt;% end %&gt;
  &lt;/ul&gt;
  
  &lt;% end %&gt;
  &lt;p&gt;&lt;%= link_to "Add new Book", {:action =&gt; 'new' }%&gt;&lt;/p&gt;
  </code></pre>
  
  <p>However, when I try to view this through localhost:3000 while having the</p>
  
  <pre><code>rails server
  </code></pre>
  
  <p>command running a WEBrick server in the background on localhost:3000,
  it keeps directing me to the default view on my browser,which is being rendered by the server from the following path:</p>
  
  <p>/Users/hassanali/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/templates/rails/welcome/index.html.erb</p>
  
  <p>instead of the actual view within my rails application folder's view folder..which is </p>
  
  <p>/Users/hassanali/Desktop/library/app/views/book/list.html.erb </p>
  
  <p>I've been trying to fix this for ages now and no avail. Does anyone know what I can do? </p>