Commit a4ea1622cf40db1e08104147b410538cc74c9a41
1 parent
db82bf4c
Exists in
master
and in
27 other branches
bug fix: Profile tabs wrong
fixed the bug Signed-off-by: José Pedro de Santana Neto <1jpsneto@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/profile/index.html.erb
| ... | ... | @@ -19,7 +19,7 @@ |
| 19 | 19 | <table class='profile'> |
| 20 | 20 | <tr> |
| 21 | 21 | <td colspan='2'> |
| 22 | - <% plugins_tabs = @plugins.dispatch(:profile_tabs).map { |tab| {:title => tab[:title], :id => tab[:id], :content => instance_exec(&tab[:content]), :start => tab[:title]} }%> | |
| 22 | + <% plugins_tabs = @plugins.dispatch(:profile_tabs).map { |tab| {:title => tab[:title], :id => tab[:id], :content => instance_exec(&tab[:content]), :start => tab[:start]} }%> | |
| 23 | 23 | |
| 24 | 24 | <% tabs = plugins_tabs.select { |tab| tab[:start] } %> |
| 25 | 25 | ... | ... |