From b96c293184eb87756b33e8c61fbc8c2f55977af2 Mon Sep 17 00:00:00 2001 From: huang Date: Thu, 14 Mar 2019 17:02:49 +0800 Subject: [PATCH 1/9] check sign --- app/controllers/ecloud_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/ecloud_controller.rb b/app/controllers/ecloud_controller.rb index d104195e..0201fd73 100644 --- a/app/controllers/ecloud_controller.rb +++ b/app/controllers/ecloud_controller.rb @@ -17,7 +17,7 @@ require 'digest' class EcloudController < ApplicationController skip_before_filter :verify_authenticity_token - # before_filter :check_sign, only: [:ps_new, :ps_update, :bs_new, :bs_update] + before_filter :check_sign, only: [:ps_new, :ps_update, :bs_new, :bs_update] before_filter :save_para before_filter :user_setup From 69c3952b0fb5d78721a13ef77f4cfcb4ec82a7df Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Thu, 14 Mar 2019 17:20:08 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E8=AF=BE=E7=A8=8B--?= =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E9=A1=BB=E7=9F=A5MD=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=B8=B2=E6=9F=93=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/subjects/_paths_list.html.erb | 17 +---------------- app/views/subjects/show.html.erb | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/app/views/subjects/_paths_list.html.erb b/app/views/subjects/_paths_list.html.erb index bfd59337..615eaa18 100644 --- a/app/views/subjects/_paths_list.html.erb +++ b/app/views/subjects/_paths_list.html.erb @@ -70,22 +70,7 @@ <% end %>