RubyCademy
Published in

RubyCademy

source: unsplash.com

Clean your Rails routes: grouping

How to separate & group your routes by logical entities

The my-blog application

$> tree config/routes
config/routes
├── base.rb
├── admin.rb
├── posts.rb
└── users.rb
0 directories, 4 files

Conclusion

RubyCademy is now available on Youtube! ▶️ 🚀 🤩 💎

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store