aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorXinhui2017-05-02 13:00:33 +0200
committerRobert2017-05-02 16:44:25 +0200
commitfbb0d5ce53dc1aeedd3b599b59353eb65502e020 (patch)
treea495819a3a48b15c553cce4b651f01cffef8649e /app
parent0a7b3fb40b40a3ff613a11cd4936bf4cd9b2cc3a (diff)
downloadchouette-core-fbb0d5ce53dc1aeedd3b599b59353eb65502e020.tar.bz2
TimeTables#edit save color from state
Refs #2899
Diffstat (limited to 'app')
-rw-r--r--app/models/chouette/time_table.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/chouette/time_table.rb b/app/models/chouette/time_table.rb
index fcdc525a9..11e7293f1 100644
--- a/app/models/chouette/time_table.rb
+++ b/app/models/chouette/time_table.rb
@@ -90,7 +90,7 @@ class Chouette::TimeTable < Chouette::TridentActiveRecord
end
def self.state_permited_attributes item
- item.slice('comment').to_hash
+ item.slice('comment', 'color').to_hash
end
def presenter