diff --git a/lib/pairwise_plugin/pairwise_content.rb b/lib/pairwise_plugin/pairwise_content.rb index 238a389..f309265 100644 --- a/lib/pairwise_plugin/pairwise_content.rb +++ b/lib/pairwise_plugin/pairwise_content.rb @@ -59,11 +59,9 @@ class PairwisePlugin::PairwiseContent < Article embeded = options.has_key? "embeded" prompt_id = options["prompt_id"] pairwise_content = self - - if not Environment.default.enabled_plugins.include? "PairwisePlugin" + if not Environment.default.enabled_plugins.include? "PairwisePlugin" proc do - locals = {:pairwise_content => pairwise_content, :source => source, :embeded => embeded, :prompt_id => prompt_id } - render :file => 'content_viewer/closed_pool', :locals => locals + render :file => 'content_viewer/closed_pool' end else proc do -- libgit2 0.21.2