diff options
| author | Luc Donnet | 2015-01-06 14:16:06 +0100 | 
|---|---|---|
| committer | Luc Donnet | 2015-01-06 14:16:06 +0100 | 
| commit | e0328e5192be5aab634590c8f736d2ea9b871d67 (patch) | |
| tree | cc14e26533190ccbfc7661bcc459fcfb562823a0 /app/controllers/time_tables_controller.rb | |
| parent | 421781dfcb08746dae48f84e144a1c92e12dff49 (diff) | |
| download | chouette-core-e0328e5192be5aab634590c8f736d2ea9b871d67.tar.bz2 | |
Fix features and views spec
Diffstat (limited to 'app/controllers/time_tables_controller.rb')
| -rw-r--r-- | app/controllers/time_tables_controller.rb | 5 | 
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 | 
