From 70f836f988ec1d31bba116f79061c1726c05f895 Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Thu, 28 May 2020 18:14:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0journal=20=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index d9dba0b92..622c7ad73 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -29,7 +29,11 @@ Rails.application.routes.draw do delete 'commons/delete', to: 'commons#delete' resources :issues, except: [:index, :new,:create, :update, :edit, :destroy] do - resources :journals, only: [:index, :create, :destroy, :edit, :update] + resources :journals, only: [:index, :create, :destroy, :edit, :update] do + member do + get :get_children_journals + end + end resources :issue_times, only: [:create] do collection do post :end_work