class PagesController < ApplicationController crumb :home, 'Home' crumb(:static) { 'Static' } crumb :i18n do I18n.t('hello') end crumb :nested, ->(params) { 'Nested' } crumb :param, proc { |params| "Param#{params[:param]}" } def home render :crumbs end def static render :crumbs end def i18n render :crumbs end def nested render :crumbs end def param render :crumbs end def empty render :crumbs end end