Browse Source

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
tags/1.3.0
Toshi MARUYAMA 13 years ago
parent
commit
df47b73951
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      lib/redmine/plugin.rb

+ 3
- 3
lib/redmine/plugin.rb View File

@@ -72,12 +72,12 @@ module Redmine #:nodoc:
::I18n.load_path += Dir.glob(File.join(Rails.root, 'vendor', 'plugins', id.to_s, 'config', 'locales', '*.yml'))
registered_plugins[id] = p
end
# Returns an array off all registered plugins
# Returns an array of all registered plugins
def self.all
registered_plugins.values.sort
end
# Finds a plugin by its id
# Returns a PluginNotFound exception if the plugin doesn't exist
def self.find(id)

Loading…
Cancel
Save