Sha256: 486cc07913940d28c2b45d67df8429c3e5bf439b6938b40a05a76325ee68bd86
Contents?: true
Size: 1017 Bytes
Versions: 2
Compression:
Stored size: 1017 Bytes
Contents
Maestrano::Connector::Rails::Engine.routes.draw do maestrano_routes #-------------------------------------------------------------------- # Maintainability issue # Should use maestrano_routes but it creates a scoping error with the metadata routes # get '/maestrano/metadata', to: '/maestrano/rails/metadata#index' # get '/maestrano/metadata/:tenant', to: '/maestrano/rails/metadata#index', as: 'tenant' # namespace :maestrano do # namespace :auth do # resources :saml, only:[] do # get 'init', on: :collection # get 'init/:tenant', on: :collection, to: 'saml#init', as: 'tenant' # post 'consume', on: :collection # end # end # namespace :account do # resources :groups, only: [:destroy] do # resources :users, only: [:destroy], controller: 'group_users' # end # end # end #-------------------------------------------------------------------- match 'signout', to: 'sessions#destroy', as: 'signout', via: [:get, :post] end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
maestrano-connector-rails-0.2.0 | config/routes.rb |
maestrano-connector-rails-0.0.1 | config/routes.rb |