mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-25 16:03:48 +00:00
7 lines
158 B
Ruby
7 lines
158 B
Ruby
module ProjectsHelper
|
|
def view_mode_style(type)
|
|
cookies["project_view"] ||= "tile"
|
|
cookies["project_view"] == type ? nil : "display:none"
|
|
end
|
|
end
|