0
0
Fork 0

Add shared statuses to the database

This commit is contained in:
Eugen Rochko 2016-02-24 17:23:59 +01:00
parent fa7868675d
commit 8da8387afe
3 changed files with 31 additions and 31 deletions

View file

@ -10,6 +10,10 @@ module ApplicationHelper
return match[1] unless match.nil?
end
def local_id?(id)
id.start_with?("tag:#{LOCAL_DOMAIN}")
end
def subscription_url(account)
add_base_url_prefix subscriptions_path(id: account.id, format: '')
end