I am making a Ruby on Rails app and have run into a problem which I believe has to do with the Javascript in my app not working.
The specific issue I'm having is with a link_to:
<%= link_to 'Sign out', destroy_user_session_path, :method => :delete %>
Fairly standard as you can see.
I am getting this in my console:
Started GET "/user/sign_out" for ::1 at 2015-06-02
I think this may have something to do with bootstrap and my application.js file but any solution I have found online have no helped.
Here is my application.js file:
//= require bootstrap-sprockets
//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require_tree .
Earlier in my app I was having a similar issue with deleting my "space" entities within the same app, and other similar JS issue so it must be that.
This is on Rails 4 by the way