bluerail / twitter-bootstrap-rails-confirm

Confirm dialogs using Twitter Bootstrap
https://bluerail.nl
MIT License
85 stars 34 forks source link

Where does config code go? #19

Closed wiredin closed 10 years ago

wiredin commented 10 years ago

would the configuration code go in /config/initializers/ ?

wiredin commented 10 years ago

Oh wait, I just realized its JavaScript. Still though, where's the best place for it?

rvanlieshout commented 10 years ago

Anywhere in your javascript. Just make sure it gets executed before you trigger a confirm. application.js would do fine.

wiredin commented 10 years ago

Thanks!