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 resources :crew_types resources :equipment_types resources :material_types resources :menus, only: %i[index] end