In a Rails 3.0.6 application that uses Devise I created this link:
<%= link_to "client login", new_user_session_path %>
I have the following in my header:
<%= csrf_meta_tag %>
The link doesn’t work. Is the problem with javascript or the devise path?
Thanks!
You are missing the “=” 🙂 Change it to :