Skip to main content

javascript_pack_tag 'javascriptNamePackage' render api json file instead of showing web page and load javascript package

Ruby • Asked by Cloud

In index.html.erb I have =javascript_pack_tag 'javascriptNamePackage' which render entire api json file and ignore all javascript package and everything..

If someone have idea what am I doing wrong I will be gratefull if you help me.

Tnx in advance!


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.