Commit 83342d44134ba9f0f769d44b2c030c706e8237e1
1 parent
aa5e9aff
Exists in
master
and in
5 other branches
Fix institution profile tab render
Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com> Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
lib/mpog_software_plugin.rb
@@ -86,8 +86,8 @@ class MpogSoftwarePlugin < Noosfero::Plugin | @@ -86,8 +86,8 @@ class MpogSoftwarePlugin < Noosfero::Plugin | ||
86 | 86 | ||
87 | def profile_tabs | 87 | def profile_tabs |
88 | if context.profile.community? | 88 | if context.profile.community? |
89 | - return profile_tabs_software if context.profile.software? | ||
90 | - profile_tabs_institution | 89 | + profile_tabs_software if context.profile.software? |
90 | + profile_tabs_institution if context.profile.institution? | ||
91 | end | 91 | end |
92 | end | 92 | end |
93 | 93 |