mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 04:02:48 +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
|