>
> First of all , why arent you been restful?? your register action is the
> same as a new action, rails creates the right routes for it with
> resource :user if you name that action new instead of register, you can
> use the :as method to make it say what you want in the url string. second
> why are you testing the http method? that is a requirement the router
> handles. and last , what is this for : @title="Register" ?
>

sorry i said you should name the action new but you should name it create

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to