I'm in the process of upgrading a rails 3 app to rails 4.0.1.
In my rails 3 app I have the following code in the my application.rb
to use multiple route files.
config.paths["config/routes"] += Dir[Rails.root.join('config', 'routes', '*.rb').to_s]
but that throws an exception when I try to use the same thing in rails 4.
Any tips?