spec/dummy/config/routes.rb in rapidoc-0.0.6 vs spec/dummy/config/routes.rb in rapidoc-0.0.7

- old
+ new

@@ -1,7 +1,7 @@ Dummy::Application.routes.draw do - match 'testing', :to => 'testing#redirect', :constraints => { :id => /[A-Z]\d{5}/ } - match '*tests', :controller => 'testing', :action => 'index' + match 'testing', :to => 'testing#redirect', :via => :get, :constraints => { :id => /[A-Z]\d{5}/ } + match '*tests', :controller => 'testing', :action => 'index', :via => :get resources :users, :only => [ :index, :show, :create ] do resources :albums, :only => [ :index, :show, :create, :update, :destroy ] do resources :images, :only => [ :index, :show, :create, :update, :destroy ] end