seyhunak/twitter-bootstrap-rails — pull request #592 by jakew (2013-06-09 16:01:47+00:00)
Title: Added support for blocks in menu_item, to be more inline with link_to's ...

Added support for blocks in menu_item, to be more inline with link_to's capabilities.

This allows you to use blocks instead of the name parameter. For example:

# inside menu_group
<%= menu_item root_path do %>
Home
<% end %>
# returns

Home

# with no url works,
<%= menu_item do %>

Off