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
Add missing dot for remote image (
#7751
)
pull/4/head
Yamagishi Kazutoshi
5 years ago
committed by
Eugen Rochko
parent
12fa2500c4
commit
b7b331ad0d
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
app/models/concerns/remotable.rb
+ 5
- 1
app/models/concerns/remotable.rb
View File
@ -69,7 +69,11 @@ module Remotable
return
if
type
.
nil?
type
.
extensions
.
first
extname
=
type
.
extensions
.
first
return
if
extname
.
nil?
"
.
#{
extname
}
"
end
def
parse_content_type
(
content_type
)
Write
Preview
Loading…
Cancel
Save