diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/common/_left_sidebar.html.erb | 2 | ||||
-rw-r--r-- | app/views/common/_right_sidebar.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/common/_left_sidebar.html.erb b/app/views/common/_left_sidebar.html.erb index 3cdbe0c..9f5a40f 100644 --- a/app/views/common/_left_sidebar.html.erb +++ b/app/views/common/_left_sidebar.html.erb @@ -1,3 +1,3 @@ <div id="left_sidebar"> - <%= render_sidebar_modules @sidebar_modules.select {|m| m.position == 1} %> + <%= render_sidebar_modules @sidebar_modules, :position => 1 %> </div> diff --git a/app/views/common/_right_sidebar.html.erb b/app/views/common/_right_sidebar.html.erb index 082e4f1..e90e858 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_sidebar_modules @sidebar_modules.select {|m| m.position == 2} %> + <%= render_sidebar_modules @sidebar_modules, :position => 2 %> </div> |