Sha256: 9be41f5f586b83962e17f42bf27858950be7248c4ef4f6e7fc6dd094dd645815

Contents?: true

Size: 504 Bytes

Versions: 4

Compression:

Stored size: 504 Bytes

Contents

Rails.application.routes.draw do
  devise_for :users, :controllers => {
      :omniauth_callbacks => "users/omniauth_callbacks",
      :sessions => "users/sessions",
      masquerades: "admin/masquerades"
  }

  resources :users, constraints: { id: /[^\/]+/ } do

    resources :roles, only: [:create,:destroy]

    get :autocomplete_user_hruid, :on => :collection
    get :search_by_id, :on => :collection
    get :sync, to: 'users#sync_with_gram', on: :member
  end

  get 'roles' => 'roles#index'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gorg_engine-1.2.4 config/routes.rb
gorg_engine-1.2.3 config/routes.rb
gorg_engine-1.2.0 config/routes.rb
gorg_engine-1.1.0 config/routes.rb