module TabsHelper

Build navigational tabs as HTML table

Public Instance Methods

tabs(select_current_page = true) { |tabs| ... } click to toggle source
# File app/helpers/tabs_helper.rb, line 3
def tabs(select_current_page = true)
  tabs = Tabs.new(controller)
  yield tabs
  tabs.to_html(select_current_page).html_safe
end