Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

poirot not defined? #13

Closed
TylerLH opened this issue Dec 6, 2011 · 1 comment
Closed

poirot not defined? #13

TylerLH opened this issue Dec 6, 2011 · 1 comment

Comments

@TylerLH
Copy link

TylerLH commented Dec 6, 2011

Thanks for the great gem. The only thing I'm having trouble with is accessing my templates client-side using poirot.viewName(), as it seems poirot isn't being defined in my js.

I'm using Rails 3.1, and the rails g poirot:installer isn't available. Any ideas as to what the issue might be?

Thanks again

@TylerLH
Copy link
Author

TylerLH commented Dec 6, 2011

Scratch that.. found the closed issue and it looks like I just needed to add //= require poirot to application.js

@TylerLH TylerLH closed this as completed Dec 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant