olivernn / poirot

mustaches in your rails
http://olivernn.github.com/poirot
108 stars 21 forks source link

poirot not defined? #13

Closed TylerLH closed 12 years ago

TylerLH commented 12 years ago

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 commented 12 years ago

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