railsware/js-routes — pull request #36 by RSpace (2012-03-02 09:20:37+00:00)
Title: Should also work when sprockets are not loaded

I have a project where we don't use sprockets, so in engine.rb Rails.application.assets is nil, resulting in a runtime error. This commit adds a check so js-routes can also run without sprockets enabled.