Skip to content

Commit

Permalink
Merge pull request #14854 from opf/bug/52916-uri-prefix-lost-on-addin…
Browse files Browse the repository at this point in the history
…g-storage-button-when

[#52916] URI prefix lost on adding storage button when
  • Loading branch information
dominic-braeunlein authored Feb 26, 2024
2 parents a786108 + 158bb3f commit 3295a05
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 3295a05

Please sign in to comment.