Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

new helpers methods

  • Loading branch information...
commit 0baf1a63962ef2e97004991095c47981bd2a3233 1 parent 1576c6b
Dubinin Roman authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 lib/gretel/helper_methods.rb
4 lib/gretel/helper_methods.rb
@@ -5,7 +5,7 @@ def controller # hack because ActionView::Helpers::UrlHelper needs a controller
5 5 end
6 6
7 7 def self.included(base)
8   - base.send :helper_method, :breadcrumb_for, :breadcrumb
  8 + base.send :helper_method, :breadcrumb_for, :breadcrumb, :breadcrumb_array, :breadcrumb_bootstrap
9 9 end
10 10
11 11 def breadcrumb(*args)
@@ -30,7 +30,7 @@ def breadcrumb(*args)
30 30 crumb
31 31 end
32 32
33   - def bredcrumb_array(*args)
  33 + def breadcrumb_array(*args)
34 34 return "breadcrumb_array"
35 35 end
36 36

0 comments on commit 0baf1a6

Please sign in to comment.
Something went wrong with that request. Please try again.