ruby on rails - Changed resources path breaks ajax -


when change path of resource in routes.rb file, ajax links stop working. instead of loading .js view, instead load .html view , nothing it. changing route fixes it.

is bug? there workaround? can specify format: :js in link, kind of defeats purpose of unobtrusive javascript, , link js source if js disabled.

rails 4.0.2, ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin12.0].


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -