mirror of
https://github.com/redmine/redmine.git
synced 2026-08-05 03:09:51 +02:00
Ruby 2.7: Fix RuboCop offense Performance/BindCall (#38134).
git-svn-id: https://svn.redmine.org/redmine/trunk@22056 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -390,7 +390,7 @@ class WikiController < ApplicationController
|
||||
def initial_page_content(page)
|
||||
helper = Redmine::WikiFormatting.helper_for(Setting.text_formatting)
|
||||
extend helper unless self.instance_of?(helper)
|
||||
helper.instance_method(:initial_page_content).bind(self).call(page)
|
||||
helper.instance_method(:initial_page_content).bind_call(self, page)
|
||||
end
|
||||
|
||||
def load_pages_for_index
|
||||
|
||||
Reference in New Issue
Block a user