I have generated a form called Clients by using scaffold , then when I decided to change its url form routes file , I typed this command
match '/book', to: 'clients#new'
and now the problem is : I having two links for the new action , the first link is localhost:3000/clients/new , and the second one is localhost:3000/book , how to delete the first one ( clients/new ) , and thats also what I want to do for update / delete / index actions
in routes.rb file:
resources :clients, except: :new