Remove excessive if-s from maintainers view
This commit is contained in:
parent
388a0028da
commit
5317427662
|
@ -1,7 +1,7 @@
|
||||||
-set_meta_tags :title => [title_object(@platform), t('layout.maintainers.list_header')]
|
-set_meta_tags :title => [title_object(@platform), t('layout.maintainers.list_header')]
|
||||||
-# FIXME: no these 'base' links!
|
-# FIXME: no these 'base' links!
|
||||||
= render 'platforms/base/submenu' if params[:platform_id]
|
= render 'platforms/base/submenu'
|
||||||
= render 'platforms/base/sidebar' if params[:platform_id]
|
= render 'platforms/base/sidebar'
|
||||||
= render :partial => 'list', :object => @maintainers
|
= render :partial => 'list', :object => @maintainers
|
||||||
= will_paginate @maintainers
|
= will_paginate @maintainers
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue