Commit c733dd106a1adf55a4674e82ea809237fa42252b

Authored by Victor Costa
1 parent aa251aaf
Exists in master

Fix group list block

lib/pairwise_plugin/questions_group_list_block.rb
@@ -20,7 +20,7 @@ class PairwisePlugin::QuestionsGroupListBlock < Block @@ -20,7 +20,7 @@ class PairwisePlugin::QuestionsGroupListBlock < Block
20 # content += ( question ? article_to_html(question,:gallery_view => false, :format => 'full').html_safe : _('No Question selected yet.') ) 20 # content += ( question ? article_to_html(question,:gallery_view => false, :format => 'full').html_safe : _('No Question selected yet.') )
21 #end 21 #end
22 proc do 22 proc do
23 - render :file => "blocks/questions_group_#{block.view_type}", :locals => {:block => block} 23 + render :file => "blocks/questions_group_list", :locals => {:block => block}
24 end 24 end
25 end 25 end
26 26