Smith
Smith

Reputation: 1493

How to list all REST URLs in Ruby on Rails commanline

I want to get list of all REST URLs in one of rails project. I think there is a command to get them.I am new to rails so no luck so far.

Thanks Smith

Upvotes: 4

Views: 2402

Answers (2)

Mohammad Sadiq Shaikh
Mohammad Sadiq Shaikh

Reputation: 3200

  • open command prompt

  • Navigate to project folder

  • run rake routes

Upvotes: 3

kulesa
kulesa

Reputation: 2964

rake routes should do the trick.

Upvotes: 6

Related Questions