aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/common/_right_sidebar.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/common/_right_sidebar.html.erb')
-rw-r--r--app/views/common/_right_sidebar.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/common/_right_sidebar.html.erb b/app/views/common/_right_sidebar.html.erb
index c9a3ca6..9a40a11 100644
--- a/app/views/common/_right_sidebar.html.erb
+++ b/app/views/common/_right_sidebar.html.erb
@@ -1,3 +1,3 @@
<div id="right_sidebar">
- <%= render "common/sidebar_module", :modules => @sidebar_modules[2] %>
+ <%= render @sidebar_modules.select {|m| m.position == 2} %>
</div>