Topic: helper in a layout
Can I put a helper into a layout? I'm trying to include a helper that generates breadcrumbs into my application layout. The helper is in the application_helper.rb When I try to call
<% helper :breadcrumbs %>
it generates a no method error:
undefined method `helper' for #<#<Class:0xb78ac620>:0xb78a69c8>
I really don't want to have to call that helper in all my templates and then pass and instance variable to the layout.
-SICP (Abelson, Sussman)