Commit 81c53cafbc0426bcfae3f41acc0c95c92121fe85

Authored by Fabio Teixeira
1 parent 861e5a40

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 &lt; Noosfero::Plugin
189 189 end
190 190  
191 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 193 end
194 194  
195 195 protected
... ... @@ -279,10 +279,6 @@ class MpogSoftwarePlugin &lt; Noosfero::Plugin
279 279 context.profile.software_info.save!
280 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 282 def language_transaction
287 283 SoftwareLanguage.transaction do
288 284 list_language = SoftwareLanguageHelper.list_language(context.params[:language])
... ...