Skip to content

Instantly share code, notes, and snippets.

@y-yagi
Created December 26, 2016 07:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save y-yagi/19a8c692b58bcc8679c6201ec596438d to your computer and use it in GitHub Desktop.
Save y-yagi/19a8c692b58bcc8679c6201ec596438d to your computer and use it in GitHub Desktop.
multi routes
Rails.application.paths["config/routes.rb"].push(*Dir.glob("config/routes/*.rb"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment