Commit aa251aaf201f8b0529a2ea2008797a601a529e97
1 parent
68ef367f
Exists in
master
removed unnecessary local variables for view
Showing
1 changed file
with
2 additions
and
4 deletions
Show diff stats
lib/pairwise_plugin/pairwise_content.rb
... | ... | @@ -59,11 +59,9 @@ class PairwisePlugin::PairwiseContent < Article |
59 | 59 | embeded = options.has_key? "embeded" |
60 | 60 | prompt_id = options["prompt_id"] |
61 | 61 | pairwise_content = self |
62 | - | |
63 | - if not Environment.default.enabled_plugins.include? "PairwisePlugin" | |
62 | + if not Environment.default.enabled_plugins.include? "PairwisePlugin" | |
64 | 63 | proc do |
65 | - locals = {:pairwise_content => pairwise_content, :source => source, :embeded => embeded, :prompt_id => prompt_id } | |
66 | - render :file => 'content_viewer/closed_pool', :locals => locals | |
64 | + render :file => 'content_viewer/closed_pool' | |
67 | 65 | end |
68 | 66 | else |
69 | 67 | proc do | ... | ... |