Skip to content

Commit

Permalink
[#52916] URI prefix lost on adding storage button when
Browse files Browse the repository at this point in the history
  • Loading branch information
dominic-braeunlein committed Feb 26, 2024
1 parent 77a4f29 commit 158bb3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/components/application_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def initialize(model = nil, **options)
@options = options
end

delegate :url_helpers, to: 'Rails.application.routes'
def url_helpers
@url_helpers ||= OpenProject::StaticRouting::StaticUrlHelpers.new
end

class << self
##
Expand Down

0 comments on commit 158bb3f

Please sign in to comment.