mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 13:45:25 +08:00
8 lines
142 B
Ruby
8 lines
142 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module CardsViewHelper
|
||
|
def cards_view_type_class(view_type)
|
||
|
view_type == 'table' ? 'list' : ''
|
||
|
end
|
||
|
end
|