Skip to content

Commit

Permalink
[#269] Active toggle for sidebar items
Browse files Browse the repository at this point in the history
  • Loading branch information
seancdavis committed Jun 24, 2018
1 parent a7a55cc commit fe0fba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/application/_sidebar_item.html.erb
Expand Up @@ -2,6 +2,6 @@
<%= link_to(
sidebar_item.title,
[current_property, sidebar_item],
# class: ('active' if current_view && current_template.name == sidebar_item.name)
class: ('active' if current_view == sidebar_item)
) %>
</li>

0 comments on commit fe0fba3

Please sign in to comment.