Sha256: 94f51e1bf218996372a21fb31f43412b6fe0f0319b6deb0ef32f21af5c6c5bf9
Contents?: true
Size: 304 Bytes
Versions: 3
Compression:
Stored size: 304 Bytes
Contents
module Bread module Helper def bread crumbset = Bread.actions.get_crumbset(controller_path, action_name) Bread.crumbs.crumbs_for(controller, crumbset) end end end if defined? ActionView::Base ActionView::Base.class_eval do include Bread::Helper end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bread-0.0.11 | lib/bread/helper.rb |
bread-0.0.10 | lib/bread/helper.rb |
bread-0.0.9 | lib/bread/helper.rb |