Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

undefined method requirejs_include_tag #252

Open
mbajur opened this issue Sep 27, 2015 · 1 comment
Open

undefined method requirejs_include_tag #252

mbajur opened this issue Sep 27, 2015 · 1 comment

Comments

@mbajur
Copy link

mbajur commented Sep 27, 2015

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.

@carsomyr
Copy link
Collaborator

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants