Skip to content

Commit

Permalink
Update tools_places.html.erb
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Blacher committed Feb 9, 2020
1 parent 513c735 commit 40e0191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/notes/tools_places.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<% if params[:controller] == "notes" && (params[:action] == "popular" || params[:action] == "index" || params[:action] == "liked") %>
<div class="navbar">
<ul class="navbar-nav">
<li class="nav-item <% if params[:action] == "methods" %> active <% end %>"><a class="nav-link" href="/methods/"><i class="fa fa-wrench"></i> <%= t('notes.tools_places.tools') %></a></li>
<li class="nav-item <% if params[:action] == "methods" %> active <% end %>"><a class="nav-link" href="/methods/"><i class="fa fa-wrench"></i> <%= translation('notes.tools_places.tools') %></a></li>
<li class="nav-item <% if params[:action] == "places" %> active <% end %>"><a class="nav-link" href="/places/"><i class="fa fa-flag"></i> <%= t('notes.tools_places.places') %></a></li>
</ul>
</div>
Expand Down

0 comments on commit 40e0191

Please sign in to comment.