From 81c53cafbc0426bcfae3f41acc0c95c92121fe85 Mon Sep 17 00:00:00 2001 From: Fabio Teixeira Date: Tue, 22 Jul 2014 14:38:54 -0300 Subject: [PATCH] Removed manage_software duplicated hot spot definition on plugin lib --- lib/mpog_software_plugin.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/mpog_software_plugin.rb b/lib/mpog_software_plugin.rb index f3cd9b0..4f68808 100644 --- a/lib/mpog_software_plugin.rb +++ b/lib/mpog_software_plugin.rb @@ -189,7 +189,7 @@ class MpogSoftwarePlugin < Noosfero::Plugin end def manage_software - [{:title => _('Manage Software'), :url => {:controller => 'mpog_software_plugin', :action => 'archive_software'}}] + [{:title => _('Manage Software'), :url => {:controller => 'mpog_software_plugin', :action => 'archive_software'}}] end protected @@ -279,10 +279,6 @@ class MpogSoftwarePlugin < Noosfero::Plugin context.profile.software_info.save! end - def manage_software - [{:title => _('Manage Software'), :url => {:controller => 'mpog_software_plugin_myprofile', :action => 'new_software'}}] - end - def language_transaction SoftwareLanguage.transaction do list_language = SoftwareLanguageHelper.list_language(context.params[:language]) -- libgit2 0.21.2