app/views/accounts/_tab_bar.html.erb in saucy-0.1.18 vs app/views/accounts/_tab_bar.html.erb in saucy-0.2.0

- old
+ new

@@ -1,8 +1,10 @@ <div class="tabs"> <ul> <li class="accounts"><%= link_to "Account Info", edit_account_url(current_account) %></li> <li class="projects"><%= link_to "Projects", account_projects_url(current_account) %></li> <li class="users"><%= link_to "Users", account_memberships_url(current_account) %></li> - <li class="billing"><a href="#">Billing</a></li> + <% if current_account.plan.billed? %> + <li class="billing"><%= link_to "Billing", account_billing_path(current_account) %></li> + <% end -%> </ul> </div>