diff options
-rw-r--r-- | app/controllers/generic_files_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/generic_files_controller.rb b/app/controllers/generic_files_controller.rb index ddedbe5..69e00e1 100644 --- a/app/controllers/generic_files_controller.rb +++ b/app/controllers/generic_files_controller.rb @@ -79,7 +79,7 @@ class GenericFilesController < ApplicationController add_breadcrumb t("generic_files.index.page_title"), method( :"#{@parent.class.name.underscore}_generic_files_url" ).(@parent) - if @generic_file + if !@generic_file.to_s.blank? add_breadcrumb @generic_file end |