diff --git a/app/controllers/archives_controller.rb b/app/controllers/archives_controller.rb index 7e4c79f..ba2d7c4 100644 --- a/app/controllers/archives_controller.rb +++ b/app/controllers/archives_controller.rb @@ -322,10 +322,9 @@ F cats = files_by_cateogry.keys.collect do |cat| } end private - def self.get_total_pages - @@total_pages - end - private + def self.get_total_pages + @@total_pages + end def get_all_categories_id_sorted all_categories_with_nil = ArchiveCategory.all.in(sort_number: nil) all_categories_no_nil = ArchiveCategory.all.not_in(sort_number: nil).order_by(sort_number: 'desc')