config/routes.rb in rails_importer-0.1.0 vs config/routes.rb in rails_importer-0.2.0

- old
+ new

@@ -1,5 +1,9 @@ RailsImporter::Engine.routes.draw do scope "importers/:importer_key" do - resources :imports, only: [:new, :create], path: '' + resources :imports, only: [:new, :create], path: '' do + collection do + get :sample + end + end end end