Project initialize

This commit is contained in:
Zin Bo Thit
2026-01-28 09:53:14 +06:30
commit e8380c6e23
139 changed files with 4599 additions and 0 deletions

21
config/routes.rb Normal file
View File

@@ -0,0 +1,21 @@
Rails.application.routes.draw do
devise_for :users
resources :departments do
member do
get :tasks
end
end
resources :tasks do
member do
patch :assign
end
end
root 'tasks#index'
# Add some useful routes for dashboard
get 'dashboard', to: 'tasks#dashboard'
get 'my_tasks', to: 'tasks#my_tasks'
end