In my rails site, i require javascript on all the pages. If it is not enabled, every page will fail.
What I want to do is, if there is no javascript enabled, I want to redirect them to another static page - asking users to enable the javascript first. I want this to happen for all the pages. Is it possible ?
I have tried to put code in my application controller and checked but some how things are not getting into place.. Is there any standard solution to this in rails .. may be a helper or something ... ?