Logout functionality does not working properly in “Production Environment”.
The logout Function is called in Production Environment by Started GET "/logout" for 127.0.0.1 at 2014-11-11 14:48:52 +0530 instead of Started DELETE "/logout".
Started GET "/logout" for 127.0.0.1 at 2014-11-11 14:48:52 +0530
Started DELETE "/logout"
Note: I don’t use Device Gem in my application.
You’re missing https://github.com/rails/jquery-rails or https://github.com/rails/jquery-ujs in your assets. As a result. The link to :method => :delete doesn’t work and sends a request as :get .
Telepathy skills, huh? I couldn’t figure it out.
Sarcasm ?
I assumed it was admiration
Colin
Sorry, just kidding.