Fix distr_types. Refs #2162

This commit is contained in:
Pavel Chipiga 2011-10-31 17:19:55 +02:00
parent 710ee322a6
commit ea0be5cd97
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class PlatformsController < ApplicationController
end
def easy_urpmi
@platforms = Platform.where(:distrib_type => APP_CONFIG['distr_type'].first, :visibility => 'open', :platform_type => 'main')
@platforms = Platform.where(:distrib_type => APP_CONFIG['distr_types'].first, :visibility => 'open', :platform_type => 'main')
respond_to do |format|
format.json do
render :json => {