Sha256: dec26f066b6ce4fdd6c4d8a193aced11731856f5a301daa7c3fa4402410c9d87

Contents?: true

Size: 831 Bytes

Versions: 4

Compression:

Stored size: 831 Bytes

Contents

Ecom::Core::Engine.routes.draw do
  post '/login', controller: :access, action: :login

  resources :application_modules, only: %i[index create update]
  resources :user_roles, only: %i[index create update]
  resources :menus, only: %i[index]
  resources :users, only: %i[index create update]
  get '/users/active', controller: :users, action: :active
  get '/users/lookup', controller: :users, action: :lookup


  resources :crew_types
  resources :equipment_types
  resources :material_types
  resources :menus, only: %i[index]
  resources :projects
  resources :companies
  get '/default_company', controller: :companies, action: :default_company
  get '/sites/:id/crew', controller: :site_crews, action: :index
  post '/site_crews', controller: :site_crews, action: :update

  resources :unit_costs, only: %i[index create]
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecom_core-1.3.14 config/routes.rb
ecom_core-1.3.13 config/routes.rb
ecom_core-1.3.12 config/routes.rb
ecom_core-1.3.11 config/routes.rb