diff --git a/app/models/service.rb b/app/models/service.rb index 472105d7..0b2e06c6 100644 --- a/app/models/service.rb +++ b/app/models/service.rb @@ -4,7 +4,7 @@ class Service < ApplicationRecord include VmCacheBuster include SpecCacheUpdater extend FriendlyId - friendly_id :name, use: :slugged, sequence_separator: '_' + friendly_id :name, use: [:slugged, :scoped], scope: :exercise, sequence_separator: '_' has_paper_trail