Commit 6159a8c25640a4fc057f8609d51bbd310c790804
Exists in
master
and in
5 other branches
Merge branch 'master' of gitlab.com:softwarepublico/mpog_software
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]) |