Ensure well_known controllers use WEB_DOMAIN by including RoutingHelper (#2388)

This fixes #2375.
This commit is contained in:
ThibG authored and Eugen Rochko committed 2017-06-02 22:21:36 +02:00
1 parent 18fe77084f
commit d567a382e3
2 files changed
+4

No files matched your search

@@ -2,6 +2,8 @@
module WellKnown
class HostMetaController < ApplicationController
include RoutingHelper
def show
@webfinger_template = "#{webfinger_url}?resource={uri}"
@@ -2,6 +2,8 @@
module WellKnown
class WebfingerController < ApplicationController
include RoutingHelper
def show
@account = Account.find_local!(username_from_resource)
@canonical_account_uri = @account.to_webfinger_s