aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/time_tables_controller.rb
diff options
context:
space:
mode:
authorMarc Florisson2015-01-07 09:59:07 +0100
committerMarc Florisson2015-01-07 09:59:07 +0100
commitc39887f2e4f6a12ab3af205c58a1330d8b28f5e9 (patch)
tree926bb13a2259787cc565ade1ba241898af531fd0 /app/controllers/time_tables_controller.rb
parentde2a3f5f161b84b5c201f71de08cc586571cde4c (diff)
parente0328e5192be5aab634590c8f736d2ea9b871d67 (diff)
downloadchouette-core-c39887f2e4f6a12ab3af205c58a1330d8b28f5e9.tar.bz2
Merge branch 'rails4' of github.com:afimb/chouette2 into rails4
Diffstat (limited to 'app/controllers/time_tables_controller.rb')
-rw-r--r--app/controllers/time_tables_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/time_tables_controller.rb b/app/controllers/time_tables_controller.rb
index be1738060..be0a3c4bd 100644
--- a/app/controllers/time_tables_controller.rb
+++ b/app/controllers/time_tables_controller.rb
@@ -87,4 +87,9 @@ class TimeTablesController < ChouetteController
def collection_url
referential_time_tables_path(referential)
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 ] )
+ end
end