]> cat aescling's git repositories - mastodon.git/commit
Allow blocking TLDs, and fix TLD blocks not being editable (#12805)
authorThibG <thib@sitedethib.com>
Wed, 8 Jan 2020 21:42:05 +0000 (22:42 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 8 Jan 2020 21:42:05 +0000 (22:42 +0100)
commit51eb1115035499a47bb03670c03afbd03ce7c5ac
tree06d01371e28750c502cf39dfdc50ce75a5e93941
parent345dd93310a6ce830444f6f875204d30c43c5a1e
Allow blocking TLDs, and fix TLD blocks not being editable (#12805)

Fixes #12795

It was already possible to create domain blocks for TLDs, but those
weren't enforced, nor editable. This commit changes it so that they
are enforced and editable.
app/models/domain_block.rb
spec/models/domain_block_spec.rb