CiriusMex wrote:
>> That being said, routes are generated/matched in the order they are
>> defined in routes.rb. SO, when generating a route with url_for/
>> redirect_to/whatev :controller => 'pizarro', :action => 'logout', :id
>> => 0, "/:controller/:action" gets matched before
>> "/:controller/:action/:id". (remove the map.connect
>> ':controller/:action' from your routes.rb and restart the server to
>> see for yourself)
>>
>> Things like this are why I try to avoid leaving in the default routes
>> whenever possible.
> 
> I didn't knew it was mapping that way. However I tried to do as you
> said without any result. I must precise something, the problem of
> redirection occurs only on the server (the online webapplication), in
> my local version on my computer I have no problem, it's working great.

Did you restart the server?  Are both routes files identical?

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
-- 
Posted via http://www.ruby-forum.com/.

-- 
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