1
0
Fork 0

Update layout to have links to current controllers

This commit is contained in:
Andrew Tomaka 2013-04-06 01:33:51 -04:00
parent 6f3f0f88a4
commit aec687e908

View file

@ -47,9 +47,9 @@
<a class="brand" href="#">MsuCourseAlerter</a> <a class="brand" href="#">MsuCourseAlerter</a>
<div class="container-fluid nav-collapse"> <div class="container-fluid nav-collapse">
<ul class="nav"> <ul class="nav">
<li><%= link_to "Link1", "/path1" %></li> <li><%= link_to "Alerts", alerts_path %></li>
<li><%= link_to "Link2", "/path2" %></li> <li><%= link_to "Sign in", new_user_session_path,
<li><%= link_to "Link3", "/path3" %></li> :method => :get %></li>
<li><%= link_to "Sign out", destroy_user_session_path, <li><%= link_to "Sign out", destroy_user_session_path,
:method => :delete %></li> :method => :delete %></li>
</ul> </ul>
@ -60,17 +60,7 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
<div class="span3"> <div class="span12">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Sidebar</li>
<li><%= link_to "Link1", "/path1" %></li>
<li><%= link_to "Link2", "/path2" %></li>
<li><%= link_to "Link3", "/path3" %></li>
</ul>
</div><!--/.well -->
</div><!--/span-->
<div class="span9">
<%= bootstrap_flash %> <%= bootstrap_flash %>
<%= yield %> <%= yield %>
</div> </div>