Closed calmyournerves closed 10 years ago
Should we just re-add jQuery or is someone willing to implement a non-jQuery port of the required jQuery-ujs functionality?
Shouldn't be too hard to implement something similar, see https://github.com/rails/jquery-ujs/blob/master/src/rails.js#L160
Clicking on the corresponding button when being logged in results in a "Something went wrong"-error.
This is happening because we removed jQuery-ujs together with jQuery and the request is now sent as GET instead of DELETE (or POST with _method=delete). See: https://github.com/rbCAS/CASino/blob/master/app/views/casino/sessions/index.html.erb#L21.