Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Some more doc improvement

  • Loading branch information...
commit e46dbea3fa476102466ac0ed3606089424cc8b3b 1 parent a83e6bb
Ace Suares authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/tabs_on_rails/action_controller.rb
3  lib/tabs_on_rails/action_controller.rb
View
@@ -175,12 +175,13 @@ module HelperMethods
# <%= tabs_tag do |tab| %>
# <%= tab.home 'Homepage', root_path, :style => "padding: 10px" %>
# <%= tab.dashboard 'Dashboard', dashboard_path %>
+ # <%= tab.account 'Account', account_path, :class => "custom" %>
# <% end %>
#
# <ul>
# <li style="padding: 10px"><a href="/">Homepage</a></li>
# <li class="current"><span>Dashboard</span></li>
- # <li><a href="/account">Account</a></li>
+ # <li class="custom"><a href="/account">Account</a></li>
# </ul>
#
# You can pass any option supported by the <li>content_tag</li> Rails helper.
Please sign in to comment.
Something went wrong with that request. Please try again.