1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Fix initial_page_content method to avoid referencing @page instance variable in wiki formatting helpers (#40513).

Patch by Takuya Kodama (@otegami).


git-svn-id: https://svn.redmine.org/redmine/trunk@22781 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2024-04-10 02:48:29 +00:00
parent 3f7650f4c0
commit 1c17ae733d
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ module Redmine
end
def initial_page_content(page)
"# #{@page.pretty_title}"
"# #{page.pretty_title}"
end
def heads_for_wiki_formatter

View File

@ -33,7 +33,7 @@ module Redmine
end
def initial_page_content(page)
"# #{@page.pretty_title}"
"# #{page.pretty_title}"
end
def heads_for_wiki_formatter

View File

@ -32,7 +32,7 @@ module Redmine
end
def initial_page_content(page)
"h1. #{@page.pretty_title}"
"h1. #{page.pretty_title}"
end
def heads_for_wiki_formatter