Commit ad3e1722e4f1cf1131529c7f6e553b0be5d49c0e

Authored by Luciano Prestes
Committed by Thiago Ribeiro
1 parent 492c3d63

Fix forum topic_creation javascript when Noosfero is in a subdir

Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/article_helper.rb
@@ -88,7 +88,7 @@ module ArticleHelper @@ -88,7 +88,7 @@ module ArticleHelper
88 content_tag( 'small', _('Who will be able to create new topics on this forum?')) + 88 content_tag( 'small', _('Who will be able to create new topics on this forum?')) +
89 content_tag('div', '', slider_options) + 89 content_tag('div', '', slider_options) +
90 hidden_field_tag('article[topic_creation]', article.topic_creation) + 90 hidden_field_tag('article[topic_creation]', article.topic_creation) +
91 - javascript_include_tag('topic-creation-config') 91 + javascript_include_tag("#{Noosfero.root}/assets/topic-creation-config.js")
92 end 92 end
93 93
94 def privacity_exceptions(article, tokenized_children) 94 def privacity_exceptions(article, tokenized_children)