From 694e9f2c97a93d02a7fbb090bcd17a73bc2900d6 Mon Sep 17 00:00:00 2001 From: Yang Zhao Date: Wed, 28 Dec 2016 14:36:04 +0000 Subject: [PATCH] =?UTF-8?q?routes=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 13 +++++++++++++ public/pages/share.html | 19 +++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index aceb849..0c11c60 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -62,4 +62,17 @@ Rails.application.routes.draw do post 'sessions' => 'sessions#create' delete 'session' => 'sessions#destroy' get 'session' => 'sessions#show' + + post 'shares' => 'shares#create' + get 'shares' => 'share#getShareList' + + get 'projects' => 'projects#index' + post 'projects' => 'projects#create' + post 'projects/users' => 'projects#addUsers' + get 'projects/detail' => 'projects#detail' + + get 'missions/project/status' => 'missions#getlist' + get 'missions/detail' => 'missions#detail' + patch 'missions/detail' => 'missions#update' + post 'missions/comments' => 'missions#commentPublish' end diff --git a/public/pages/share.html b/public/pages/share.html index f839c1e..da2fa71 100644 --- a/public/pages/share.html +++ b/public/pages/share.html @@ -259,6 +259,25 @@ + \ No newline at end of file