title: Dynamic menu laravel
body: <p>I am starting with laravel, and made an integration with bootstrap.  I want to make a menu bar to access to the information by year, the menu is made I this way to the view</p>
  
  <pre><code>&lt;li class="dropdown-submenu"&gt;
      &lt;a tabindex="-1" href="#"&gt;2007&lt;/a&gt;
      &lt;ul class="dropdown-menu"&gt;
          &lt;li&gt;&lt;a tabindex="-1" href="&lt;?php echo url('/convenios/2007/registrar', $parameters = array(), $secure = null); ?&gt;"&gt;Registrar&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Consultar&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>I made this on a view called <code>base.blade.php</code>, there is a better way to make the menus or I made this in the right way? </p>