From baaed4653623cfc918ada7250c4fd879aad28893 Mon Sep 17 00:00:00 2001 From: Luc Donnet Date: Wed, 7 Jan 2015 21:58:56 +0100 Subject: Fix spec and update devise usage --- app/controllers/time_tables_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/controllers/time_tables_controller.rb') diff --git a/app/controllers/time_tables_controller.rb b/app/controllers/time_tables_controller.rb index be0a3c4bd..52493987a 100644 --- a/app/controllers/time_tables_controller.rb +++ b/app/controllers/time_tables_controller.rb @@ -89,7 +89,6 @@ class TimeTablesController < ChouetteController end def permitted_params - params.permit(time_table: [ :objectid, :object_version, :creation_time, :creator_id, :version, :comment, -:int_day_types, :monday, :tuesday, :wednesday, :thursday, :friday, :saturday, :sunday, :start_date, :end_date, :dates_attributes, :periods_attributes, :tag_list, :tag_search ] ) + params.permit(time_table: [ :objectid, :object_version, :creation_time, :creator_id, :version, :comment, :int_day_types, :monday, :tuesday, :wednesday, :thursday, :friday, :saturday, :sunday, :start_date, :end_date, :dates_attributes, :periods_attributes, :tag_list, :tag_search ] ) end end -- cgit v1.2.3