Remove excessive if-s from maintainers view

This commit is contained in:
Pavel Shved 2012-05-29 16:53:44 +04:00 committed by George Vinogradov
parent 388a0028da
commit 5317427662
1 changed files with 2 additions and 2 deletions

View File

@ -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