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

bootstrap.js will not load with body=1 #72

Open
aus opened this issue Sep 4, 2013 · 1 comment
Open

bootstrap.js will not load with body=1 #72

aus opened this issue Sep 4, 2013 · 1 comment

Comments

@aus
Copy link

aus commented Sep 4, 2013

I have a new Rails 4 project setup. After rails new project, I add the gem to my Gemfile. Then I update my assests/javascripts/application.js and assets/stylesheets/application.css.scss. In my layouts, I include <%= javascript_include_tag "application" %> which outputs the HTML <script src="/assets/twitter/bootstrap.js?body=1"></script>.

curl http://localhost:3000/assets/twitter/bootstrap.js?body=1 will yield no response, though I can see the request in my WEBrick log.

http://localhost:3000/assets/twitter/bootstrap.js will repsond with the proper javascript however. Strange thing is that twitter/bootstrap/* plugins will load with the body=1.

Any ideas?

@andresclari
Copy link

I've also come across this issue, any workarounds so far?

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

2 participants