javascript - How do I completely remove all references to application.js and application.css in a Rails app? -


i'm working in rails 4.2.4 deploy simple web api. interface not require javascript or css, requests application.js , application.css generating log spam , increasing response times. have tried disabling assets , skipping sprockets, pages served app continue reference application.js , application.css, in "hello, world!" controller generated getting started guide.

how can permanently disable references these non-existent, unrequired files?

modify ./app/views/layouts/application.html.erb have following content:

<%= yield %> 

in other words, remove <html>, <head>, , <body> tags. there several other ways achieve objective, might easiest.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -