Sha256: 73751c47dd417a7594951366ec021819f00bb81b97ddc7133b0a2d5ae5b220c8
Contents?: true
Size: 1.1 KB
Versions: 3
Compression:
Stored size: 1.1 KB
Contents
# This test app mounts everything at the root level, but you'd usually be doing # more in your Rails app than just SCIM! Wrapping with 'namespace :foo do' is # strongly recommended to avoid routing namespace collisions. See README.md for # an example. # Rails.application.routes.draw do mount Scimitar::Engine, at: '/' get 'Users', to: 'mock_users#index' get 'Users/:id', to: 'mock_users#show' post 'Users', to: 'mock_users#create' put 'Users/:id', to: 'mock_users#replace' patch 'Users/:id', to: 'mock_users#update' delete 'Users/:id', to: 'mock_users#destroy' get 'Groups', to: 'mock_groups#index' get 'Groups/:id', to: 'mock_groups#show' patch 'Groups/:id', to: 'mock_groups#update' # For testing blocks passed to ActiveRecordBackedResourcesController#destroy # delete 'CustomDestroyUsers/:id', to: 'custom_destroy_mock_users#destroy' # For testing environment inside Scimitar::ApplicationController subclasses. # get 'CustomRequestVerifiers', to: 'custom_request_verifiers#index' post 'CustomRequestVerifiers', to: 'custom_request_verifiers#create' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
scimitar-1.5.3 | spec/apps/dummy/config/routes.rb |
scimitar-1.5.2 | spec/apps/dummy/config/routes.rb |
scimitar-1.5.0 | spec/apps/dummy/config/routes.rb |