lib/resque/server/views/layout.erb in resque-1.2.3 vs lib/resque/server/views/layout.erb in resque-1.3.0
- old
+ new
@@ -9,15 +9,12 @@
<script src="<%=u 'ranger.js' %>" type="text/javascript"></script>
</head>
<body>
<div class="header">
<ul class='nav'>
- <%= tab "Overview" %>
- <%= tab "Working" %>
- <%= tab "Failed" %>
- <%= tab "Queues" %>
- <%= tab "Workers" %>
- <%= tab "Stats" %>
+ <% tabs.each do |tab_name| %>
+ <%= tab tab_name %>
+ <% end %>
</ul>
</div>
<% if @subtabs %>
<ul class='subnav'>
\ No newline at end of file