mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
7 lines
147 B
Ruby
7 lines
147 B
Ruby
# frozen_string_literal: true
|
|
|
|
module CardsViewHelper
|
|
def cards_view_type_class(view_type)
|
|
view_type == 'table' ? 'list' : 'cards'
|
|
end
|
|
end
|