Module: Documentation::ApplicationHelper
- Includes:
- ViewHelpers
- Defined in:
- app/helpers/documentation/application_helper.rb
Instance Method Summary collapse
Methods included from ViewHelpers
#documentation_authorizer, #documentation_breadcrumb_for, #documentation_content_for, #documentation_doc_root, #documentation_edit_page_path, #documentation_navigation_tree_for, #documentation_page_path, #documentation_search_pagination, #documentation_search_results, #documentation_search_summary
Instance Method Details
#flash_messages ⇒ Object
6 7 8 9 10 |
# File 'app/helpers/documentation/application_helper.rb', line 6 def flashes = flash.collect do |key,msg| content_tag :div, content_tag(:p, h(msg)), :id => "flash-#{key}" end.join.html_safe end |