diff --git a/app/controllers/breadcrumb_widgets_controller.rb b/app/controllers/breadcrumb_widgets_controller.rb index efa87aa..467105b 100644 --- a/app/controllers/breadcrumb_widgets_controller.rb +++ b/app/controllers/breadcrumb_widgets_controller.rb @@ -21,9 +21,8 @@ class BreadcrumbWidgetsController < ApplicationController module_app = ModuleApp.find_by_key(p.module) rescue nil registration_module = OrbitApp::Module::Registration.find_by_key(p.module) rescue nil taggable_model = registration_module.taggable_model.constantize rescue nil - puts p.module if module_app && registration_module - model = taggable_model.where(:uid=>uid).first + model = taggable_model.where(:uid=>uid).first rescue nil if model if (model.category.present? rescue false) override_page_name = model.category.title rescue nil