diff options
Diffstat (limited to 'app/models/user.rb')
| -rw-r--r-- | app/models/user.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/models/user.rb b/app/models/user.rb index 2633fdacb..d27007d43 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -32,7 +32,7 @@ class User < ActiveRecord::Base    @@edit_offer_permissions = ['routes.create', 'routes.edit', 'routes.destroy', 'journey_patterns.create', 'journey_patterns.edit', 'journey_patterns.destroy',      'vehicle_journeys.create', 'vehicle_journeys.edit', 'vehicle_journeys.destroy', 'time_tables.create', 'time_tables.edit', 'time_tables.destroy',      'footnotes.edit', 'footnotes.create', 'footnotes.destroy', 'routing_constraint_zones.create', 'routing_constraint_zones.edit', -    'routing_constraint_zones.destroy'] +    'routing_constraint_zones.destroy', 'referentials.create', 'referentials.edit', 'referentials.destroy']    def cas_extra_attributes=(extra_attributes)      extra             = extra_attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} | 
