fix: claims is losed

This commit is contained in:
yystopf 2022-03-10 09:36:51 +08:00
commit 1c660213a7
2 changed files with 13 additions and 6 deletions

View File

@ -77,9 +77,6 @@
# index_projects_on_updated_on (updated_on) # index_projects_on_updated_on (updated_on)
# #
class Project < ApplicationRecord class Project < ApplicationRecord
include Matchable include Matchable
include Publicable include Publicable

View File

@ -146,6 +146,16 @@ Rails.application.routes.draw do
get :get_children_journals get :get_children_journals
end end
end end
resources :claims, only: [:index] do
collection do
post :create
delete :destroy
get :index
put :update
end
end
resources :issue_times, only: [:create] do resources :issue_times, only: [:create] do
collection do collection do
post :end_work post :end_work