fixed missprint

This commit is contained in:
Vokhmin Alexey V 2012-10-09 17:54:17 +04:00
parent 1e2d41b183
commit 07bf8f1d0f
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class Ability
# Platforms block
can [:show, :members, :advisories], Platform, :visibility => 'open'
can :platforms_for_build, Platform, :visibility => 'open', :name => 'main'
can :platforms_for_build, Platform, :visibility => 'open', :platform_type => 'main'
can [:read, :projects_list], Repository, :platform => {:visibility => 'open'}
can :read, Product, :platform => {:visibility => 'open'}