Ruby on Rails 4.2 Cómo agregar la ruta Get

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