Merge commit '95d65c971c
' into kb_migration
This commit is contained in:
commit
7fa5cbc649
12 changed files with 54 additions and 21 deletions
|
@ -5,6 +5,7 @@ class ResolveURLService < BaseService
|
|||
include Authorization
|
||||
|
||||
USERNAME_STATUS_RE = %r{/@(?<username>#{Account::USERNAME_RE})/(?<status_id>[0-9]+)\Z}
|
||||
REMOTE_USERNAME_STATUS_RE = %r{/@(?<username>#{Account::USERNAME_RE}@#{Account::USERNAME_RE})/(?<status_id>[0-9]+)\Z}
|
||||
|
||||
def call(url, on_behalf_of: nil)
|
||||
@url = url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue