Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
i2bskn committed Jul 13, 2013
1 parent 8d95a64 commit 0f8ba8b
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,17 @@
<li><a href="<%= @current_user.github_url %>" target="_blank"><i class="icon-user"></i> <%= @current_user.nickname %></a></li>
<li><a href="<%= gists_sync_path %>"><i class="icon-refresh"></i> Sync Gist</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-tags"></i> Tags<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="/"><i class="icon-tag"></i> All</a></li>
<% @tags.each do |tag| %>
<li><a href="<%= root_path(tag: tag) %>"><i class="icon-tag"></i> <%= tag %></a></li>
<% end %>
</ul>
</li>
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-tags"></i> Tags<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="/"><i class="icon-tag"></i> All</a></li>
<% @tags.each do |tag| %>
<li><a href="<%= root_path(tag: tag) %>"><i class="icon-tag"></i> <%= tag %></a></li>
<% end %>
</ul>
</div>
</li>
</ul>

<%= yield %>
<% else %>
Expand Down

0 comments on commit 0f8ba8b

Please sign in to comment.