requirejs-rails
requirejs-rails copied to clipboard
undefined method requirejs_include_tag
Hello!
I have just installed requirejs-rails and i have a problem with view helper requirejs_include_tag
. Basically, when i'm trying to use it in my layout file, i'm getting:
undefined method `requirejs_include_tag' for #<#Class:0x007f971db14390:0x007f971fbe25b8>
All i've done was add a gem, bundle install and server restart. The only abnormal thing that comes to my mind is the fact that this layout file belongs to mountable engine.
Rails 4.2.1
requirejs-rails master
ruby 2.2.1
Any help much appreciated.
@mbajur Sorry for the belated reply. Have you tried a layout file not from an engine?