Commit 81c53cafbc0426bcfae3f41acc0c95c92121fe85
1 parent
861e5a40
Exists in
master
and in
5 other branches
Removed manage_software duplicated hot spot definition on plugin lib
Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com> Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
Showing
1 changed file
with
1 additions
and
5 deletions
Show diff stats
lib/mpog_software_plugin.rb
| @@ -189,7 +189,7 @@ class MpogSoftwarePlugin < Noosfero::Plugin | @@ -189,7 +189,7 @@ class MpogSoftwarePlugin < Noosfero::Plugin | ||
| 189 | end | 189 | end |
| 190 | 190 | ||
| 191 | def manage_software | 191 | def manage_software |
| 192 | - [{:title => _('Manage Software'), :url => {:controller => 'mpog_software_plugin', :action => 'archive_software'}}] | 192 | + [{:title => _('Manage Software'), :url => {:controller => 'mpog_software_plugin', :action => 'archive_software'}}] |
| 193 | end | 193 | end |
| 194 | 194 | ||
| 195 | protected | 195 | protected |
| @@ -279,10 +279,6 @@ class MpogSoftwarePlugin < Noosfero::Plugin | @@ -279,10 +279,6 @@ class MpogSoftwarePlugin < Noosfero::Plugin | ||
| 279 | context.profile.software_info.save! | 279 | context.profile.software_info.save! |
| 280 | end | 280 | end |
| 281 | 281 | ||
| 282 | - def manage_software | ||
| 283 | - [{:title => _('Manage Software'), :url => {:controller => 'mpog_software_plugin_myprofile', :action => 'new_software'}}] | ||
| 284 | - end | ||
| 285 | - | ||
| 286 | def language_transaction | 282 | def language_transaction |
| 287 | SoftwareLanguage.transaction do | 283 | SoftwareLanguage.transaction do |
| 288 | list_language = SoftwareLanguageHelper.list_language(context.params[:language]) | 284 | list_language = SoftwareLanguageHelper.list_language(context.params[:language]) |