vain_routes¶ ↑
You didn’t invest all that time into creating your beautiful restful routes only to have them displayed in a console window, did you?
Introducing ‘Vain Routes’ - a rails engine that enables you to view your routes directly from your browser, sort them, and even filter them! While the command line may helpful, it isn’t as pretty as this!
Install¶ ↑
Simply install the gem:
gem install 'vain_routes'
Configure¶ ↑
Add vain_routes to your Gemfile:
group :development do gem 'vain_routes' end
Fire it up!¶ ↑
From the command line, fire up your server
rails server
And open your browser to:
http://localhost:3000/vain/routes
Feeback & Requests¶ ↑
Please give it a try, and let me know if you have any requests on how I can make those routes look even better!
If you like it (or not), please shoot me a note via email (ryan at stawarz dot com) or twitter (@rstawarz).
Thanks¶ ↑
Special thanks to Matt Hamm for sharing the background image on flickr.
Copyright¶ ↑
Copyright © 2010 Ryan Stawarz. It is free software governed by the MIT License - see the terms specified in the LICENSE file for details.