summaryrefslogtreecommitdiffstats
path: root/redmine/config/environment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'redmine/config/environment.rb')
-rw-r--r--redmine/config/environment.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/redmine/config/environment.rb b/redmine/config/environment.rb
index f13942ffa..359293b6e 100644
--- a/redmine/config/environment.rb
+++ b/redmine/config/environment.rb
@@ -105,6 +105,10 @@ $RDM_HEADER_SUBTITLE ||= "Project management"
# footer signature
$RDM_FOOTER_SIG = "admin@somenet.foo"
+# textile formatting
+# automaticaly disabled if 'textile' method is not defined (RedCloth unavailable)
+$RDM_TEXTILE_DISABLED = true unless ActionView::Helpers::TextHelper.method_defined? "textilize"
+
# application name
RDM_APP_NAME = "redMine"
# application version