No route matches {:action=>"index", :controller=>"devise/registrations"}
my application.html.erb
<div class ="link1">
<%= link_to "Home",:action => 'home' >
</div>
<div class ="link1">
<% if userprof_signed_in? %>
<%= link_to "Logout", destroy_userprof_session_path, method: :delete, :class => 'navbar-link' %>
<% else %>
<%= link_to "Sign up", new_userprof_registration_path, :class => 'navbar-link' %> |
<%= link_to "Login", new_userprof_session_path, :class => 'navbar-link' %>
<% end %>
i am able to see home and sign up link but when i am clicking on sign up link i am getting error:No route matches {:action=>"index", :controller=>"devise/registrations"}
need help.
Read the configuration procedure again
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/65a57f1a-871a-4743-a43d-56b0409b902a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.