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
On Fri, Feb 13, 2009 at 3:07 PM, krishna <[email protected]> wrote:

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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to