Skip to content

Commit

Permalink
Fix search icon; close #558
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtOfCode- committed Feb 4, 2019
1 parent 5d5634a commit 20c2856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
}
} %>
</ul>
<% if controller.class == DashboardController && controller.action_name == :index %>
<% if controller.class == DashboardController && controller.action_name == 'index' %>
<form class="navbar-form navbar-right" role="search">
<div class="form-group">
<input type="text" id="search" class="form-control" placeholder="Search reasons">
Expand Down Expand Up @@ -158,7 +158,7 @@
<code><%= CurrentCommit.first(7) %></code>
<% end %>
<% end %>
<% if controller.class == DashboardController %>
<% if controller.class == DashboardController && controller.action_name == 'index' %>
<li class="search-icon hidden-xs"><a class="glyphicon glyphicon-search" href=#><span class="sr-only">Search</span></a></li>
<% end %>
</ul>
Expand Down

0 comments on commit 20c2856

Please sign in to comment.