This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
fix can toot whitespace (
#2218
)
closed-social-glitch-2
ばん
7 years ago
committed by
Eugen
parent
4cfc155560
commit
5817bae2da
1 changed files
with
5 additions
and
0 deletions
Split 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