mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-11 22:46:55 +01:00
fix can toot whitespace (#2218)
This commit is contained in:
parent
4cfc155560
commit
5817bae2da
1 changed files with 5 additions and 0 deletions
5
config/initializers/fast_blank.rb
Normal file
5
config/initializers/fast_blank.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
if String.method_defined?(:blank_as?)
|
||||||
|
class String
|
||||||
|
alias_method :blank?, :blank_as?
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue