From bec0bd76e42a76d0b2c764b71936057db68bb401 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 4 Jul 2013 12:33:28 +0800 Subject: [PATCH] Replace get_categories by categories --- app/helpers/admin/frontend_widget_interface.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/admin/frontend_widget_interface.rb b/app/helpers/admin/frontend_widget_interface.rb index 746f72164..e25396d80 100644 --- a/app/helpers/admin/frontend_widget_interface.rb +++ b/app/helpers/admin/frontend_widget_interface.rb @@ -3,7 +3,7 @@ module Admin::FrontendWidgetInterface protected def get_categories_and_tags unless @selected[:module_app].nil? - @categories = @selected[:module_app].get_categories + @categories = @selected[:module_app].categories @tags = @selected[:module_app].tags end end