diff options
| -rw-r--r-- | app/models/compliance_check_set.rb | 2 | ||||
| -rw-r--r-- | config/routes.rb | 4 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/app/models/compliance_check_set.rb b/app/models/compliance_check_set.rb index 4e14b054f..7c55561af 100644 --- a/app/models/compliance_check_set.rb +++ b/app/models/compliance_check_set.rb @@ -21,7 +21,7 @@ class ComplianceCheckSet < ActiveRecord::Base    def notify_parent      if parent -      parent.child_change +      # parent.child_change        update(notified_parent_at: DateTime.now)      else        errors.add(:base, I18n.t('compliance_check_sets.errors.no_parent')) diff --git a/config/routes.rb b/config/routes.rb index d6ff21bee..65fa62557 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -65,8 +65,8 @@ ChouetteIhm::Application.routes.draw do        resources :time_tables, only: [:index, :show]        resources :vehicle_journeys, only: :show        namespace :internals do -        get 'compliance_check_sets/:id/notify_parent', to: 'compliance_check_sets#notify_parent', as: 'compliance_check_sets' -        get 'netex_imports/:id/notify_parent', to: 'netex_imports#notify_parent', as: 'netex_imports' +        get 'compliance_check_sets/:id/notify_parent', to: 'compliance_check_sets#notify_parent' +        get 'netex_imports/:id/notify_parent', to: 'netex_imports#notify_parent'        end      end    end | 
