Bibek Sharma
Bibek Sharma

Reputation: 3330

View controller Specifc routes on rails

How can I view controller specific routes in rails.I've large number of controller in my project. So I want to view routes for specific controller.

Upvotes: 0

Views: 25

Answers (1)

Dushyant
Dushyant

Reputation: 4960

You can achieve it like this:

rake routes CONTROLLER=controller_name 

ex: rake routes CONTROLLER=posts

Upvotes: 2

Related Questions