Closed tf closed 8 months ago
Rails 7 no longer allows to set instance variables via render locals [1]. Since RevisionFileHelper#find_file_in_entry depends on a @entry instance variable being set, we need to set in on the view object ourselves.
RevisionFileHelper#find_file_in_entry
@entry
REDMINE-20487
[1] https://github.com/rails/rails/pull/41464
Rails 7 no longer allows to set instance variables via render locals [1]. Since
RevisionFileHelper#find_file_in_entry
depends on a@entry
instance variable being set, we need to set in on the view object ourselves.REDMINE-20487
[1] https://github.com/rails/rails/pull/41464