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