diff --git a/app/models/owner.rb b/app/models/owner.rb index 0e5b6fda..2538889d 100644 --- a/app/models/owner.rb +++ b/app/models/owner.rb @@ -82,6 +82,8 @@ def yaml_funding_links "https://polar.sh/#{v}" when 'buy_me_a_coffee' "https://buymeacoffee.com/#{v}" + when 'thanks_dev' + "https://thanks.dev/#{v}" else v end diff --git a/app/models/package_usage.rb b/app/models/package_usage.rb index 7d3deb8a..40ccea44 100644 --- a/app/models/package_usage.rb +++ b/app/models/package_usage.rb @@ -138,6 +138,8 @@ def repo_funding_links "https://polar.sh/#{v}" when 'buy_me_a_coffee' "https://buymeacoffee.com/#{v}" + when 'thanks_dev' + "https://thanks.dev/#{v}" else v end diff --git a/app/models/repository.rb b/app/models/repository.rb index d687374a..8a5c21c7 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -402,6 +402,8 @@ def repo_funding_links "https://polar.sh/#{v}" when "buy_me_a_coffee" "https://buymeacoffee.com/#{v}" + when 'thanks_dev' + "https://thanks.dev/#{v}" else v end