From 817a2d9afdd2a5d2191b31deaf0da2a32e2cc5b3 Mon Sep 17 00:00:00 2001 From: bohung Date: Tue, 25 Oct 2022 08:37:30 +0800 Subject: [PATCH] Updated. --- app/controllers/surveys_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/surveys_controller.rb b/app/controllers/surveys_controller.rb index c00527d..ef207a8 100644 --- a/app/controllers/surveys_controller.rb +++ b/app/controllers/surveys_controller.rb @@ -1,7 +1,7 @@ class SurveysController < ApplicationController helper MemberHelper - + FrontendMethods = ["my_record", "show_data", "answer_success", "result"] def index questionnairesurveys = QuestionnaireSurvey.any_of( {:postdate.lte => Time.now} ).desc(:postdate).page(OrbitHelper.params[:page_no]).per(OrbitHelper.page_data_count)