requirejs-rails icon indicating copy to clipboard operation
requirejs-rails copied to clipboard

undefined method requirejs_include_tag

Open mbajur opened this issue 9 years ago • 1 comments

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 avatar Sep 27 '15 09:09 mbajur

@mbajur Sorry for the belated reply. Have you tried a layout file not from an engine?

carsomyr avatar Dec 14 '15 01:12 carsomyr