logout - Devise is giving me a routing error when logging out. Rails 4 -


For some reason I can not log out of the division, it does not keep any path error in me.

Ensure that destroy_user_session_path is a removal method, your logout link should look like this: < pre> & lt;% = link_to destroy_user_session_path, method :: delete% & gt; Also, make sure that you have this application inside. Js:

  // required jquery_ujs    

Comments

Popular posts from this blog

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -

jasper reports - How to center align barcode using jasperreports and barcode4j -

django - CommandError: You must set settings.ALLOWED_HOSTS if DEBUG is False -