Ruby on rails “No route matches”

后端 未结 5 1903
北荒
北荒 2021-02-20 09:06

I am new to Rails and am just implementing some basic applications. Just starting on my second app and have run into what is a basic problem, but Google is yielding me nothing.

5条回答
  •  心在旅途
    2021-02-20 09:34

    You need to add admin_login method to routes, like:-

    map.connect '/user/admin_login', :controller => 'users', :action => 'admin_login'
    

提交回复
热议问题