Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tiendung authored and parndt committed Jan 23, 2011
1 parent f7d4af8 commit fd8efe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/lib/refinery/plugins.rb
Expand Up @@ -43,7 +43,7 @@ def titles

class << self
def active
@active_plugins = self.new
@active_plugins ||= self.new
end

def always_allowed
Expand All @@ -55,6 +55,7 @@ def registered
end

def set_active(names)
@active_plugins = self.new
names.each do |name|
active << registered[name] if registered[name] && !active[name]
end
Expand Down

0 comments on commit fd8efe9

Please sign in to comment.