From 9ef0f97b91cc9b8e3fcdec5df4ddfbf9ab2386db Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Sat, 23 Apr 2011 02:15:58 -0300 Subject: [PATCH] Signing plugin to hot spots --- lib/noosfero/plugin.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/noosfero/plugin.rb b/lib/noosfero/plugin.rb index f7f4c44..93c1ba6 100644 --- a/lib/noosfero/plugin.rb +++ b/lib/noosfero/plugin.rb @@ -31,12 +31,6 @@ class Noosfero::Plugin all << subclass.to_s unless all.include?(subclass.to_s) end - # Here the developer should specify the meta-informations that the plugin can - # inform. - def plugin_name - self.name.underscore.humanize - end - def public_name self.name.underscore.gsub('_plugin','') end @@ -45,6 +39,12 @@ class Noosfero::Plugin compute_public_path((public_name + '/' + file), 'plugins') end + + # Here the developer should specify the meta-informations that the plugin can + # inform. + def plugin_name + self.name.underscore.humanize + end def plugin_description _("No description informed.") end -- libgit2 0.21.2