Add shared statuses to the database

This commit is contained in:
Eugen Rochko
2016-02-24 17:23:59 +01:00
bovenliggende fa7868675d
commit 8da8387afe
3 gewijzigde bestanden met toevoegingen van 31 en 31 verwijderingen
@@ -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