bus_booking/app/views/admin/shared/_nav.html.erb

10 lines
272 B
Plaintext
Raw Permalink Normal View History

2016-06-23 11:23:18 +00:00
<div class="navbar">
<div class="navbar-inner">
<ul class="nav">
<li><a href="/admin/bus_bookings">Schedules</a></li>
<% if current_user.is_admin? %>
<li><a href="<%= new_admin_bus_booking_path %>">Add</a></li>
<% end %>
</ul>
</div>
</div>