lib/bh/helpers/url_helper.rb in bh-0.0.3 vs lib/bh/helpers/url_helper.rb in bh-0.0.4

- old
+ new

@@ -1,9 +1,10 @@ require 'action_view' module Bh module UrlHelper include ActionView::Helpers::UrlHelper # for link_to + # Overrides ActionView +link_to+ to be able to add the 'alert_link' class # to the link in case the link is inside of an alert. # @see http://getbootstrap.com/components/#alerts-links def link_to(*args, &block) args = add_alert_class_to_link!(*args, &block) if @alert_link \ No newline at end of file