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|