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)
#
class Project < ApplicationRecord
include Matchable
include Publicable

View File

@ -146,6 +146,16 @@ Rails.application.routes.draw do
get :get_children_journals
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
collection do
post :end_work