Sha256: ca1cfcdb6410dff888e233dc8d2cd5afdf22b4291ab676c66420c820caddcddd
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 Bytes
Contents
class Trestle::ApplicationController < ActionController::Base protect_from_forgery layout 'trestle/admin' protected def breadcrumbs @breadcrumbs ||= Trestle::Breadcrumb::Trail.new(Trestle.config.root_breadcrumbs) end helper_method :breadcrumbs def breadcrumb(label, path=nil) breadcrumbs.append(label, path) end helper_method :breadcrumb end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trestle-0.8.2 | app/controllers/trestle/application_controller.rb |
trestle-0.8.0 | app/controllers/trestle/application_controller.rb |