scinote-web/app/helpers/cards_view_helper.rb
2021-03-04 14:56:59 +01:00

7 lines
142 B
Ruby

# frozen_string_literal: true
module CardsViewHelper
def cards_view_type_class(view_type)
view_type == 'table' ? 'list' : ''
end
end