diff options
| author | cedricnjanga | 2017-11-24 12:32:09 +0100 | 
|---|---|---|
| committer | cedricnjanga | 2017-11-24 12:32:09 +0100 | 
| commit | 4ee768d80cc5374c84ed0b06a43eb4f4bda0f825 (patch) | |
| tree | deea0d202e15a781fba98a5949bd84e879cc533e /app/models/stop_area_referential.rb | |
| parent | 5b9351272ec0f02c2c76fd8b3168cbbc6acdedff (diff) | |
| download | chouette-core-4ee768d80cc5374c84ed0b06a43eb4f4bda0f825.tar.bz2 | |
Take into account code review
Diffstat (limited to 'app/models/stop_area_referential.rb')
| -rw-r--r-- | app/models/stop_area_referential.rb | 3 | 
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models/stop_area_referential.rb b/app/models/stop_area_referential.rb index 159ee07b3..54e895cd0 100644 --- a/app/models/stop_area_referential.rb +++ b/app/models/stop_area_referential.rb @@ -1,5 +1,4 @@  class StopAreaReferential < ActiveRecord::Base -  extend Enumerize    include ObjectidFormatterSupport    has_many :stop_area_referential_memberships    has_many :organisations, through: :stop_area_referential_memberships @@ -7,8 +6,6 @@ class StopAreaReferential < ActiveRecord::Base    has_many :stop_areas, class_name: 'Chouette::StopArea'    has_many :stop_area_referential_syncs, -> {order created_at: :desc}    has_many :workbenches -  enumerize :objectid_format, in: %w(netex stif_netex stif_reflex stif_codifligne), default: 'netex' -  validates_presence_of :objectid_format    def add_member(organisation, options = {})      attributes = options.merge organisation: organisation  | 
