Regarding REST

How to write routes.rb specification to add login.rhtml and
register.rhtml files into my application.

Login function is like method “get”
Register function is like method “post”

The syntax for this is :

map.resources :Controller_names, :Login => { :read => :get }
map.resources :Controller_names, :Register => { :read => :post }

Enjoiy…

Regards
hafeez