From af0ab9f0d33059349ed29226f8acd48fd5bfcc1e Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Tue, 23 Jul 2013 19:12:23 +0800 Subject: [PATCH] removed categories reference in event categories --- .../panel/calendar_new/back_end/event_categories_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/vendor/built_in_modules/calendar_new/app/controllers/panel/calendar_new/back_end/event_categories_controller.rb b/vendor/built_in_modules/calendar_new/app/controllers/panel/calendar_new/back_end/event_categories_controller.rb index 347bf8d0..97d4636b 100644 --- a/vendor/built_in_modules/calendar_new/app/controllers/panel/calendar_new/back_end/event_categories_controller.rb +++ b/vendor/built_in_modules/calendar_new/app/controllers/panel/calendar_new/back_end/event_categories_controller.rb @@ -27,8 +27,6 @@ class Panel::CalendarNew::BackEnd::EventCategoriesController < OrbitBackendContr # GET /events/new.json def new @event_category = EventCategory.new - @categories = get_categories_for_index - respond_to do |format| format.html # new.html.erb format.json { render json: @event_category }