Sha256: 1948f41abcd0bbdefeea5b103ec105ba6f03696aa571413576776a8696af222f
Contents?: true
Size: 579 Bytes
Versions: 2
Compression:
Stored size: 579 Bytes
Contents
Rails.application.routes.draw do resources :products, :defaults => { :format => :json } resources :widgets, :defaults => { :format => :json } resources :categories, :defaults => { :format => :json } do collection do post 'create_with_modified_response_codes' post 'create_with_modified_resource' end member do delete 'destroy_with_modified_response_codes' get 'show_without_products' get 'show_by_calling_original_action' get 'widget' get 'widget_with_renamed_root' get 'product_with_category' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trax_controller-1.0.0 | spec/internal/config/routes.rb |
trax_controller-0.1.4 | spec/internal/config/routes.rb |