|
Re: bug in routes ???: msg#00166lang.ruby.rails.core
Interesting...I've been going through step by step with a small test app:
Any comments? Cheers Greg PS routes.rb file from test application ===================================== ActionController::Routing::Routes.draw do |map| map.connect ':locale/singlelevel', :controller => 'single', :action ="" 'testaction', :defaults => {:locale => 'nil'} map.connect ':locale/multilevel', :controller => 'parent/child', :action ="" 'testaction', :defaults => {:locale => 'nil'} map.connect ':locale', :controller => 'single', :action ="" 'index', :defaults => {:locale => 'nil'} end ===================================== --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: bug in routes ???, Michael Koziarski |
|---|---|
| Next by Date: | Re: ActiveSupport::Multibyte for better Unicode support, Thijs van der Vossen |
| Previous by Thread: | Re: bug in routes ???, Michael Koziarski |
| Next by Thread: | Re: bug in routes ???, Greg Hauptmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |