mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47: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:
parent
3f7650f4c0
commit
1c17ae733d
@ -33,7 +33,7 @@ module Redmine
|
||||
end
|
||||
|
||||
def initial_page_content(page)
|
||||
"# #{@page.pretty_title}"
|
||||
"# #{page.pretty_title}"
|
||||
end
|
||||
|
||||
def heads_for_wiki_formatter
|
||||
|
||||
@ -33,7 +33,7 @@ module Redmine
|
||||
end
|
||||
|
||||
def initial_page_content(page)
|
||||
"# #{@page.pretty_title}"
|
||||
"# #{page.pretty_title}"
|
||||
end
|
||||
|
||||
def heads_for_wiki_formatter
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user