From b1bb26b1e0725411fe363c3e73d3bc9e6c5a9e9d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 10 Dec 2011 13:55:47 +0000 Subject: ruby1.9: macro must accept 2 arguments. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8168 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/wiki_formatting/macros.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/redmine') diff --git a/lib/redmine/wiki_formatting/macros.rb b/lib/redmine/wiki_formatting/macros.rb index 2f9dd99eb..de23eabb0 100644 --- a/lib/redmine/wiki_formatting/macros.rb +++ b/lib/redmine/wiki_formatting/macros.rb @@ -77,7 +77,7 @@ module Redmine end desc "Displays a list of all available macros, including description if available." - macro :macro_list do + macro :macro_list do |obj, args| out = '' @@available_macros.keys.collect(&:to_s).sort.each do |macro| out << content_tag('dt', content_tag('code', macro)) -- cgit v1.2.3