jquery - Rails Javascript issue -


i'm integrating theme wrapbootstrap.com , realized i'm running issue.

scripts.js that's included theme conflicting 2 files i'm including in application.js

//= require jquery

//= require jquery_ujs

i know because logout functionality stopped working has route as:

delete '/logout' => 'sessions#destroy' 

view:

<%= link_to "log out", "/logout" , :method => "delete" %> 

i suppose question how can include both scripts.js along rails required classes? if remove scripts.js logout functionality returns , when require again functionality goes away.

my solution make get request rather have delete http request in routes.rb files.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo