From 53174276625a89e0e225876176646966c8368f8f Mon Sep 17 00:00:00 2001 From: Pavel Shved Date: Tue, 29 May 2012 16:53:44 +0400 Subject: [PATCH] Remove excessive if-s from maintainers view --- app/views/platforms/maintainers/index.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/platforms/maintainers/index.html.haml b/app/views/platforms/maintainers/index.html.haml index a9eeefc49..fd52033d6 100644 --- a/app/views/platforms/maintainers/index.html.haml +++ b/app/views/platforms/maintainers/index.html.haml @@ -1,7 +1,7 @@ -set_meta_tags :title => [title_object(@platform), t('layout.maintainers.list_header')] -# FIXME: no these 'base' links! -= render 'platforms/base/submenu' if params[:platform_id] -= render 'platforms/base/sidebar' if params[:platform_id] += render 'platforms/base/submenu' += render 'platforms/base/sidebar' = render :partial => 'list', :object => @maintainers = will_paginate @maintainers