Skip to content

Commit d33076a

Browse files
Set Avo default_url_options (#1999)
1 parent 516cf04 commit d33076a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/initializers/avo.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,6 @@
106106
# config.profile_menu = -> {
107107
# link "Profile", path: "/avo/profile", icon: "user-circle"
108108
# }
109+
config.default_url_options = Rails.application.routes.default_url_options
110+
Avo::Engine.routes.default_url_options = Rails.application.routes.default_url_options
109111
end

0 commit comments

Comments
 (0)