Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
430499fb
Commit
430499fb
authored
6 years ago
by
m.b
Committed by
Eugen Rochko
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Update resolve_url_service.rb (#9188)
parent
449e6e45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/services/resolve_url_service.rb
+1
-1
app/services/resolve_url_service.rb
with
1 addition
and
1 deletion
+1
-1
app/services/resolve_url_service.rb
+
1
-
1
View file @
430499fb
...
...
@@ -20,7 +20,7 @@ class ResolveURLService < BaseService
def
process_url
if
equals_or_includes_any?
(
type
,
%w(Application Group Organization Person Service)
)
FetchRemoteAccountService
.
new
.
call
(
atom_url
,
body
,
protocol
)
elsif
equals_or_includes_any?
(
type
,
%w(Note Article Image Video)
)
elsif
equals_or_includes_any?
(
type
,
%w(Note Article Image Video
Page
)
)
FetchRemoteStatusService
.
new
.
call
(
atom_url
,
body
,
protocol
)
end
end
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets