[Git][noosfero/noosfero][master] text_article: add missing redcloth require

Bráulio Bhavamitra gitlab at mg.gitlab.com
Sat Mar 18 08:30:39 BRT 2017


Bráulio Bhavamitra pushed to branch master at Noosfero / noosfero


Commits:
3b77f832 by Braulio Bhavamitra at 2017-03-18T08:29:47-03:00
text_article: add missing redcloth require

- - - - -


1 changed file:

- app/models/text_article.rb


Changes:

=====================================
app/models/text_article.rb
=====================================
--- a/app/models/text_article.rb
+++ b/app/models/text_article.rb
@@ -1,3 +1,5 @@
+require 'redcloth' unless RUBY_ENGINE == 'jruby'
+
 # a base class for all text article types.
 class TextArticle < Article
 



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/3b77f8325d16d721ec1080ef6fcdd7c6404ab557
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170318/bfe4ab9e/attachment.html>


More information about the Noosfero-dev mailing list