This website works better with JavaScript.
Home
Explore
Help
Sign In
abunchtell
/
mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Activity
Browse Source
fix can toot whitespace (
#2218
)
master
ばん
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