diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-01-05 14:03:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-05 14:03:46 +0100 |
commit | 18d00055f4f7e28a9a4cc81d3159072e9beb779d (patch) | |
tree | 8d10960c6bbe9a7421fb6de540ae6f37cbe71cf9 /app/controllers | |
parent | bf5fc2085839ddc99a5e6668980f5026f751f0f8 (diff) |
Add dropdown menu item to open admin interface for remote domains (#21895)
* Allow /admin/instances/:domain to handle IDNs * Add dropdown menu item to open admin interface for remote domains
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/admin/instances_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/instances_controller.rb b/app/controllers/admin/instances_controller.rb index 7c44e88b7..519405726 100644 --- a/app/controllers/admin/instances_controller.rb +++ b/app/controllers/admin/instances_controller.rb @@ -49,7 +49,7 @@ module Admin private def set_instance - @instance = Instance.find(params[:id]) + @instance = Instance.find(TagManager.instance.normalize_domain(params[:id]&.strip)) end def set_instances |