Closed chalofa closed 14 years ago
Hi,
Thanks for noticing that, but this change has been made in order to support the last rails3 release! Which version are you using?
:o I was still using the rails 3.0.0.rc version... upgrading to the latest version solved the problem! thanks...
Great!
When using named routes in Rails 3, there's an error when initializing (translating the routes):
lib/i18n_routing_rails3.rb:281:in `initialize': wrong number of arguments (4 for 3) (ArgumentError)
In my routes.rb I have:
localized([:es, :en], :verbose => true) do match 'home' => 'home#show', :as => :home end
I fixed the problem (4 arguements were sent to the Parent class), you can see my solution in a note in this commit: http://github.com/kwi/i18n_routing/commit/4ecdea43564ec7d732bab6e00e32e0139103c129#comments
Thanks!