I just updated gem less-rails-bootstrap to use twitter bootstrap 2.1.0, and it seems to have broken this code in my view, in the bootstrap drop-down list:
<%= link_to 'Logout', destroy_admin_user_session_path, :method => :delete %>
It seems the server thinks this is a GET request instead of DELETE. However, if I take this view code and put it immediately outside the drop-down list, then it works fine and the server recognizes the DELETE request.
If I change my gemfile as such:
gem 'less-rails-bootstrap', '~> 2.0.4'
Then run the 'bundle update' and reboot the server, then everything will work as expected. But if I just have:
gem 'less-rails-bootstrap'
Then run the 'bundle update' and reboot the server, then the server considers DELETE to be a GET request.
I tried switching to gitter 'twitter-bootstrap-rails' and the same problem came up. I suggest that I should do something wrong?
robotron2000
source share