Skip to content

Commit

Permalink
Fixed admin menu items duplicating after extensions code changing (#3234
Browse files Browse the repository at this point in the history
)

Closes #3087
  • Loading branch information
Dmitriy Molodtsov authored and parndt committed Jul 26, 2016
1 parent eaaedc5 commit 23781a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/refinery/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def self.register(&_block)
# core/app/assets/stylesheets/glass/components/_icons.scss

# add the new plugin to the collection of registered plugins
::Refinery::Plugins.registered.unshift plugin
::Refinery::Plugins.registered.unshift(plugin).uniq!(&:name)
end

# Returns the internationalized version of the title
Expand Down

0 comments on commit 23781a8

Please sign in to comment.