title: syntax error, unexpected end-of-input, expecting keyword_end
body: <p>I have really tried to find out where I haven't closed some code but it all seems right to me. What have I done? I have checked all of the code carefully and hope someone can solve this for me!!!</p>
  
  <pre><code> &lt;nav class="navbar navbar-default" role="navigation"&gt;
    &lt;div class="container"&gt;
    &lt;!-- Brand and toggle get grouped for better mobile display --&gt;
    &lt;div class="navbar-header"&gt;
      &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"&gt;
        &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
        &lt;span class="icon-bar"&gt;&lt;/span&gt;
        &lt;span class="icon-bar"&gt;&lt;/span&gt;
        &lt;span class="icon-bar"&gt;&lt;/span&gt;
      &lt;/button&gt;
      &lt;%= link_to "Pinteresting", root_path, class: "navbar-brand" %&gt;
    &lt;/div&gt;
  
  
    &lt;!-- Collect the nav links, forms, and other content for toggling --&gt;
    &lt;div class="collapse navbar-collapse navbar-ex1-collapse"&gt;
      &lt;ul class="nav navbar-nav navbar-right"&gt;
        &lt;li&gt;&lt;%= link_to "Home", root_path %&gt;&lt;/li&gt;
        &lt;li&gt;&lt;%= link_to "About", about_path %&gt;&lt;/li&gt;
        &lt;% if user_signed_in? %&gt;
        &lt;li&gt;&lt;%= link_to "Account Settings", edit_user_registration_path %&gt;&lt;/li&gt; 
        &lt;li&gt;&lt;%= link_to "Log out", destroy_user_session_path, method: :delete %&gt;&lt;/li&gt; 
        &lt;% else %&gt;
        &lt;li&gt;&lt;%= link_to "Sign in", new_user_session_path %&gt;&lt;/li&gt;
    &lt;/ul&gt;
  
      &lt;/div&gt;
    &lt;/div&gt;&lt;!-- /.navbar-collapse --&gt;
  
  &lt;/nav&gt;
  </code></pre>