Module: Bullseye::Helpers::BullseyeHelper
- Defined in:
- lib/bullseye/helpers/bullseye_helper.rb
Instance Method Summary collapse
Instance Method Details
#bullseye_body(options = {}, &block) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/bullseye/helpers/bullseye_helper.rb', line 4 def bullseye_body( = {}, &block) attributes = Bullseye.config.html_tag.collect do |key, value| [ key, value.gsub(':action', __bullseye_action).gsub(':controller', __bullseye_controller) ] end content_tag(:body, capture(&block), Hash[attributes].merge()).html_safe end |