kwi / i18n_routing

I18n routing module for Rails 2.3.x and Rails 3. Translate your routes with ease !
MIT License
228 stars 48 forks source link

missing slash? #13

Closed wacaw closed 14 years ago

wacaw commented 14 years ago

Hi, my routes.rb scope "(:locale)" , :locale => /pt|en/ do localized(['en','pt'], :verbose => true) do match 'about' => "home#about",:as => :about end end

my translation pt.yml pt: named_routes_path: about: "pt_about" rake routes [I18n] > localize route : about (pt) => /(:locale)pt-about

where is slash?

kwi commented 14 years ago

Hi,

Thanks for reporting this issue ! I will have a look at it as soon as I can.

kwi commented 14 years ago

Hey, it's now fixed, thanks for the report !

wacaw commented 14 years ago

Thanks for the quick response! It's working now.