diff --git a/app/helpers/repository_datatable_helper.rb b/app/helpers/repository_datatable_helper.rb index c847d7b29..86b6537bf 100644 --- a/app/helpers/repository_datatable_helper.rb +++ b/app/helpers/repository_datatable_helper.rb @@ -75,7 +75,7 @@ module RepositoryDatatableHelper end def display_cell_value(cell, team) - value_name = cell.repository_column.data_type.underscore + value_name = cell.repository_column.data_type.demodulize.underscore serializer_class = "RepositoryDatatable::#{cell.repository_column.data_type}Serializer".constantize serializer_class.new( cell.__send__(value_name),