Skip to content

Commit

Permalink
generate customer slug on every call
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiomagalhaes committed Feb 6, 2024
1 parent c032ee3 commit e9893c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/customer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@ class Customer < ApplicationRecord
encrypts :source_control_token
encrypts :notifications_token
encrypts :ticket_tracking_system_token

def should_generate_new_friendly_id?
true
end
end

0 comments on commit e9893c3

Please sign in to comment.