From 0ab1fca101cdad532904d3df1fdf225625209ac0 Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 22 Feb 2014 11:31:55 -0700 Subject: rename active_licenses to licenses to match jbuilder template. --- app/controllers/v1/company_licenses_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/v1/company_licenses_controller.rb b/app/controllers/v1/company_licenses_controller.rb index 6f2f666..e3701d2 100644 --- a/app/controllers/v1/company_licenses_controller.rb +++ b/app/controllers/v1/company_licenses_controller.rb @@ -2,7 +2,7 @@ class V1::CompanyLicensesController < ApplicationController before_filter :load_company def index - @active_licenses = @company.filter_licenses_using(search_filters) + @licenses = @company.filter_licenses_using(search_filters) end private -- cgit v1.2.3