Finding Routes in Rails 4
Rails 4.0.0 final version is bundled with a fresh gem called as Sextant. Sextant gives us another way instead of using rake routes
. Too see all available routes in Rails 4: run rails server
then use the url shown below:
http://localhost/your_app_name/rails/info/routes
This url shows your application's available helpers, http verbs, paths and actions like as rake command.
Besides that, it will appear any Routing Error messages in your browser as well.
Bonus: Also you can see your application's properties using this url:
http://localhost/your_app_name/rails/info/properties
Written by Sıtkı Bağdat
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#