Hello! We all know that we expose the resources in the config/routes.rb like this:
map.resources :account
This create a named url. But how can I iterate through all the available named routes?
Regards, Mohsin
Hello! We all know that we expose the resources in the config/routes.rb like this:
map.resources :account
This create a named url. But how can I iterate through all the available named routes?
Regards, Mohsin
Hello! We all know that we expose the resources in the config/routes.rb like this:
map.resources :account
This create a named url. But how can I iterate through all the available named routes?
Does rake routes do what you want?
Fred
> Hello! > We all know that we expose the resources in the config/routes.rb > like this:
> map.resources :account
> This create a named url. But how can I iterate through all the > available named routes?
Does rake routes do what you want?
Fred
No it has to be actually in the code. let me see the code of the routes task then...