This gem will provide an easy way to export your rails routes to a javascript file that you can then include in your asset pipeline.
Andrew Hecht
N/A