fix comment typo at lib/redmine/plugin.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6416 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
47bca60e46
commit
df47b73951
|
@ -72,12 +72,12 @@ module Redmine #:nodoc:
|
||||||
::I18n.load_path += Dir.glob(File.join(Rails.root, 'vendor', 'plugins', id.to_s, 'config', 'locales', '*.yml'))
|
::I18n.load_path += Dir.glob(File.join(Rails.root, 'vendor', 'plugins', id.to_s, 'config', 'locales', '*.yml'))
|
||||||
registered_plugins[id] = p
|
registered_plugins[id] = p
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns an array off all registered plugins
|
# Returns an array of all registered plugins
|
||||||
def self.all
|
def self.all
|
||||||
registered_plugins.values.sort
|
registered_plugins.values.sort
|
||||||
end
|
end
|
||||||
|
|
||||||
# Finds a plugin by its id
|
# Finds a plugin by its id
|
||||||
# Returns a PluginNotFound exception if the plugin doesn't exist
|
# Returns a PluginNotFound exception if the plugin doesn't exist
|
||||||
def self.find(id)
|
def self.find(id)
|
||||||
|
|
Loading…
Reference in New Issue