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.
you can use
match 'admin_login' => 'user#admin_login', :as =>'admin_login'
default method for this call is post u can change method behavior by using
:via => [:post/:put/:get]