Sha256: a3251ee9e2c1b64b2bb7a84ab8d852283e640028d99363c8af5ba8886e0dc7db
Contents?: true
Size: 234 Bytes
Versions: 1
Compression:
Stored size: 234 Bytes
Contents
module NavigationHelper # # [ # ['Users', user_path], # ['Roles'] # ] # def breadcrumb Array(@breadcrumb).collect{|item| item.is_a?(Array) ? link_to(*item) : item} end def breadcrumb? breadcrumb.empty? end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rad_kit-0.0.10 | app/helpers/kit/navigation_helper.rb |