Steve that is exactly what I'm doing. But as you can see there is no more config.paths["config/routes"] but config .paths["config/routes.rb"] and it looks inappropriate when concatenating array to that "file": config.paths["config/routes.rb"].concat(Dir[Rails.root.join( "config/routes/*.rb")])
W dniu wtorek, 12 marca 2013 16:36:25 UTC+1 użytkownik Steve Klabnik napisał: > > We added this and removed it for a reason. It's really easy to roll > your own, just use ruby: > http://stackoverflow.com/questions/4930805/multiple-routing-file-in-rails-3 > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
