Fix distr_types. Refs #2162
This commit is contained in:
parent
710ee322a6
commit
ea0be5cd97
|
@ -10,7 +10,7 @@ class PlatformsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def easy_urpmi
|
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|
|
respond_to do |format|
|
||||||
format.json do
|
format.json do
|
||||||
render :json => {
|
render :json => {
|
||||||
|
|
Loading…
Reference in New Issue