Created
April 17, 2016 20:35
-
-
Save anonymous/4fcc3d1c52fdbb8dc7bc8513dc7147f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----layouts/_header.html.erb----- | |
<div class="header-v8"> | |
<li <% if @selected == "howitworks"%>class="selected"<% end %>><%= link_to "How It Works", "/howitworks" %> | |
</div> | |
-----home/howitworks.html.erb----- | |
<% content_for :header do %> | |
<% @selected = "howitworks"%> | |
<%end%> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment