Please tell me, what's the purpose of the first argument in the simple_navigation configuration gem?
For example, look at this code:
SimpleNavigation::Configuration.run do |navigation|
navigation.auto_highlight = false
navigation.items do |primary|
primary.item :report_errors, "Errors Log", report_errors_path
primary.dom_class = 'nav pull-right'
end
end
According to wiki:
a key (used for identifying the active navigation item in the controllers)
but as I noticed, :report_errors
argument is only influences on the name of corresponding id
attribute in HTML tag.
Thanks for reply.