Refactoring Grape API methods into normal controllers & other things
This commit is contained in:
parent
11ff92c9d7
commit
0e8f59c16f
63 changed files with 336 additions and 406 deletions
|
@ -38,7 +38,7 @@ class FollowRemoteAccountService < BaseService
|
|||
account.secret = SecureRandom.hex
|
||||
account.verify_token = SecureRandom.hex
|
||||
|
||||
subscription = account.subscription(subscription_url(account))
|
||||
subscription = account.subscription(api_subscription_url(account.id))
|
||||
subscription.subscribe
|
||||
|
||||
account.save!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue