From ad3e1722e4f1cf1131529c7f6e553b0be5d49c0e Mon Sep 17 00:00:00 2001 From: Luciano Prestes Cavalcanti Date: Thu, 27 Aug 2015 16:49:53 +0200 Subject: [PATCH] Fix forum topic_creation javascript when Noosfero is in a subdir --- app/helpers/article_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/article_helper.rb b/app/helpers/article_helper.rb index 90b036d..ee390a7 100644 --- a/app/helpers/article_helper.rb +++ b/app/helpers/article_helper.rb @@ -88,7 +88,7 @@ module ArticleHelper content_tag( 'small', _('Who will be able to create new topics on this forum?')) + content_tag('div', '', slider_options) + hidden_field_tag('article[topic_creation]', article.topic_creation) + - javascript_include_tag('topic-creation-config') + javascript_include_tag("#{Noosfero.root}/assets/topic-creation-config.js") end def privacity_exceptions(article, tokenized_children) -- libgit2 0.21.2