Nope, i'm still getting the same results; sometimes works, sometimes
doesn't.

the assert_recognizes didn't seem to work that way, i had to switch the 
first part ('/en/shop') and the options to get those to pass

Sean Cribbs wrote:
> Benny,
> 
> Try this:
> 
> define_routes do |map|
>     map.with_options :controller => 'shop', :action => 'index' do |shop|
>       shop.connect "en/shop/:action/:id", :language => 'en-US'
>       shop.connect "nl/shop/:action/:id", :language => 'nl-BE'
>     end
> end
> 
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to