From a4ea1622cf40db1e08104147b410538cc74c9a41 Mon Sep 17 00:00:00 2001 From: Jose Pedro <1jpsneto@gmail.com> Date: Mon, 30 Jun 2014 01:03:07 -0300 Subject: [PATCH] bug fix: Profile tabs wrong --- app/views/profile/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/profile/index.html.erb b/app/views/profile/index.html.erb index c0a09ce..6bbae5a 100644 --- a/app/views/profile/index.html.erb +++ b/app/views/profile/index.html.erb @@ -19,7 +19,7 @@
- <% plugins_tabs = @plugins.dispatch(:profile_tabs).map { |tab| {:title => tab[:title], :id => tab[:id], :content => instance_exec(&tab[:content]), :start => tab[:title]} }%> + <% plugins_tabs = @plugins.dispatch(:profile_tabs).map { |tab| {:title => tab[:title], :id => tab[:id], :content => instance_exec(&tab[:content]), :start => tab[:start]} }%> <% tabs = plugins_tabs.select { |tab| tab[:start] } %> -- libgit2 0.21.2 |