Permalink
Browse files

new helpers methods

  • Loading branch information...
1 parent 1576c6b commit 0baf1a63962ef2e97004991095c47981bd2a3233 Dubinin Roman committed Mar 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/gretel/helper_methods.rb
@@ -5,7 +5,7 @@ def controller # hack because ActionView::Helpers::UrlHelper needs a controller
end
def self.included(base)
- base.send :helper_method, :breadcrumb_for, :breadcrumb
+ base.send :helper_method, :breadcrumb_for, :breadcrumb, :breadcrumb_array, :breadcrumb_bootstrap
end
def breadcrumb(*args)
@@ -30,7 +30,7 @@ def breadcrumb(*args)
crumb
end
- def bredcrumb_array(*args)
+ def breadcrumb_array(*args)
return "breadcrumb_array"
end

0 comments on commit 0baf1a6

Please sign in to comment.