fix: claims is losed
This commit is contained in:
commit
1c660213a7
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
@ -673,10 +683,10 @@ Rails.application.routes.draw do
|
||||||
namespace :admins do
|
namespace :admins do
|
||||||
mount Sidekiq::Web => '/sidekiq'
|
mount Sidekiq::Web => '/sidekiq'
|
||||||
get '/', to: 'dashboards#index'
|
get '/', to: 'dashboards#index'
|
||||||
namespace :topic do
|
namespace :topic do
|
||||||
resources :activity_forums
|
resources :activity_forums
|
||||||
resources :banners
|
resources :banners
|
||||||
resources :cards
|
resources :cards
|
||||||
resources :cooperators
|
resources :cooperators
|
||||||
resources :excellent_projects
|
resources :excellent_projects
|
||||||
resources :experience_forums
|
resources :experience_forums
|
||||||
|
|
Loading…
Reference in New Issue