How do we access rails routes from Javascript erb file? Posted by beroza on August 04, 2016 rails rake routes url_helpers +