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!
Features
- Clean User Inteface to view your routes as html
- Sort your routes by verb, path, controller or action
- Filter routes by keywords
- A rails 3 engine which is installed and running in under a minute!
gem install 'vain_routes'
Update your Gemfile:
group :development do
gem 'vain_routes'
end
Launch your Server
rails server
Open your browser to: http://localhost:3000/vain/routes