title: How to redirect to specific path in Rake Routes?
body: <p>I want to redirect to specific path in controllers using this rake routes path.
  how to do it? thank you for the help.
  <a href="http://i.stack.imgur.com/bTtal.jpg" rel="nofollow">please click this image screenshot link</a>
  Specific path is : "client GET /clients/:id(.:format) clients#show</p>
  
  <pre><code>     enrollment GET    /enrollments/:id(.:format)      enrollments#show
              PATCH  /enrollments/:id(.:format)      enrollments#update
              PUT    /enrollments/:id(.:format)      enrollments#update
              DELETE /enrollments/:id(.:format)      enrollments#destroy
      clients GET    /clients(.:format)              clients#index
              POST   /clients(.:format)              clients#create
  edit_client GET    /clients/:id/edit(.:format)     clients#edit
       client GET    /clients/:id(.:format)          clients#show
              PATCH  /clients/:id(.:format)          clients#update
              PUT    /clients/:id(.:format)          clients#update
              DELETE /clients/:id(.:format)          clients#destroy
     register GET    /register(.:format)             clients#new
        login GET    /login(.:format)                logins#new
              POST   /login(.:format)                logins#create
       logout GET    /logout(.:format)               logins#destroy
   references POST   /references(.:format)           references#create
  </code></pre>
  
  <p>new_reference GET    /references/new(.:format)       references#new
        reference GET    /references/:id(.:format)       references#show
      preferences POST   /preferences(.:format)          preferences#create
   new_preference GET    /preferences/new(.:format)      preferences#new
       preference GET    /preferences/:id(.:format)      preferences#show</p>