diff --git a/app/controllers/packages_controller.rb b/app/controllers/packages_controller.rb index 2fdf0e87a..e29283ed8 100644 --- a/app/controllers/packages_controller.rb +++ b/app/controllers/packages_controller.rb @@ -6,7 +6,7 @@ class PackagesController < ApplicationController # GET /api/v1/packages def index return if deny_if_not_role('Admin') - packages = Package.all( :order => 'name' ) + packages = Package.all().order('name') render :json => { :packages => packages }