From 65ece5d0fb230b3894d180acd224cafbcd751a10 Mon Sep 17 00:00:00 2001 From: ilya_scherbinin Date: Tue, 10 Dec 2013 14:26:19 +0400 Subject: [PATCH] fix shadowing variable --- app/helpers/application_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index f04139e..e9999f7 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -532,9 +532,9 @@ module ApplicationHelper @current_section = 0 if options[:edit_section_links] parse_sections(text, project, obj, attr, only_path, options) - text = parse_non_pre_blocks(text, obj, macros) do |text| + text = parse_non_pre_blocks(text, obj, macros) do |txt| [:parse_inline_attachments, :parse_wiki_links, :parse_redmine_links].each do |method_name| - send method_name, text, project, obj, attr, only_path, options + send method_name, txt, project, obj, attr, only_path, options end end parse_headings(text, project, obj, attr, only_path, options) -- 1.7.11.1