From 75118ef88b998b4931173c8564d68c6f45c6a6c9 Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Tue, 7 Nov 2017 14:53:46 +0630 Subject: [PATCH] update survey --- app/controllers/origami/surveys_controller.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/controllers/origami/surveys_controller.rb b/app/controllers/origami/surveys_controller.rb index 4b0240c2..32aea6dd 100644 --- a/app/controllers/origami/surveys_controller.rb +++ b/app/controllers/origami/surveys_controller.rb @@ -19,12 +19,10 @@ class Origami::SurveysController < BaseOrigamiController end def create - puts params[:table_id] - puts params - puts "tttttttttt" + @dining_facility = DiningFacility.find(params[:table_id]) @url = "/origami/"+@dining_facility.type.downcase+"/"+params[:table_id] - puts @url + @survey = Survey.new(survey_params) # respond_to do |format|