spec/dummy/config/routes.rb~ in sketchily-1.5.0 vs spec/dummy/config/routes.rb~ in sketchily-4.0.0
- old
+ new
@@ -1,5 +1,8 @@
Dummy::Application.routes.draw do
- resource :drawing
- get 'sketchily', :to => 'sketchily#sketchily'
- get 'sketchily_tag', :to => 'sketchily#sketchily_tag'
+ resources :drawings, :only => [:create, :show] do
+ member do
+ get 'sketchily'
+ get 'sketchily_tag'
+ end
+ end
end