app/helpers/shim/pages_helper.rb in shim-0.1.4 vs app/helpers/shim/pages_helper.rb in shim-0.1.5
- old
+ new
@@ -4,10 +4,10 @@
params[:id].split("/").first
end
def nav_class(section)
if current_section == section
- "current-page"
+ Shim.configuration.active_nav_class
else
""
end
end
end