Answers for "ruby on rails 4.2 how to add GET route"

0

ruby on rails 4.2 how to add GET route

resources :deliveries, controller: 'invoices', only: [:index, :new, :edit] do
  collection do
    get :search
    post :search
  end
end
Posted by: Guest on March-03-2021

Code answers related to "ruby on rails 4.2 how to add GET route"

Browse Popular Code Answers by Language