This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix can toot whitespace (
#2218
)
closed-social-v3
ばん
7 years ago
committed by
Eugen
parent
4cfc155560
commit
5817bae2da
1 changed files
with
5 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
config/initializers/fast_blank.rb
+ 5
- 0
config/initializers/fast_blank.rb
View File
@ -0,0 +1,5 @@
if
String
.
method_defined?
(
:blank_as?
)
class
String
alias_method
:blank?
,
:blank_as?
end
end
Write
Preview
Loading…
Cancel
Save