]> source.dussan.org Git - redmine.git/commitdiff
fix typo "MACROS_SUB_RE" (#11736)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 2 Sep 2012 11:09:43 +0000 (11:09 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 2 Sep 2012 11:09:43 +0000 (11:09 +0000)
Contributed by Anton Argirov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10277 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 0ce1cc4263b1aef9862bb843411fbf0918374ad9..4923ccb311f316dd6a797d262c1303c04651e405 100644 (file)
@@ -876,7 +876,7 @@ module ApplicationHelper
                   \{\{
                   macro\((\d+)\)
                   \}\}
-                  )/x unless const_defined?(:MACROS_SUB_RE)
+                  )/x unless const_defined?(:MACRO_SUB_RE)
 
   # Extracts macros from text
   def catch_macros(text)