Jan_Molic
(Jan Molič)
1
Hello,
I'm trying to use any helper in a layout but it raises
"undefined local variable or method `test_helper' for #<ActionView::Base:0x408651f4>"
The method is written in an application_helper.rb so is available to any
view (where works fine).
How can I make it available to layout too?
Thank you for help,
MiG
MiG wrote:
Hello,
I'm trying to use any helper in a layout but it raises
"undefined local variable or method `test_helper' for #<ActionView::Base:0x408651f4>"
The method is written in an application_helper.rb so is available to any
view (where works fine).
How can I make it available to layout too?
Try here, the Rails mailing list:
http://lists.rubyonrails.org/mailman/listinfo/rails
James
···
--
http://www.ruby-doc.org - The Ruby Documentation Site
http://www.rubyxml.com - News, Articles, and Listings for Ruby & XML
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys