Ruby on Rails 4.2 Cara Menambahkan Rute Dapatkan

resources :deliveries, controller: 'invoices', only: [:index, :new, :edit] do
  collection do
    get :search
    post :search
  end
end
Exuberant Emu