From b635fdaeb775b8f7aaa5fb719c72c0b8d50ecde0 Mon Sep 17 00:00:00 2001 From: cxt Date: Tue, 17 Nov 2015 18:33:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/routes.rb b/config/routes.rb index 1a66d2424..b1e4725e6 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -152,6 +152,7 @@ RedmineApp::Application.routes.draw do get 'statistics_result' get 'student_exercise_list' get 'export_exercise' + post 'create_exercise_question' end collection do #生成路径为 /exercise/方法名