GitLab wurde aktualisiert. Dank regelmäßiger Updates bleibt das THM GitLab sicher und Sie profitieren von den neuesten Funktionen. Vielen Dank für Ihre Geduld.

Commit 7fdc2971 authored by Alfredo Sumaran's avatar Alfredo Sumaran
Browse files

Remove unused methods

parent 4d23af75
......@@ -3,20 +3,6 @@ def nav_menu_collapsed?
cookies[:collapsed_nav] == 'true'
end
def sidebar_gutter_collapsed_class
if current_path?('merge_requests#diffs') ||
cookies[:collapsed_gutter] == 'true'
"right-sidebar-collapsed"
else
"right-sidebar-expanded"
end
end
def sidebar_gutter_collapsed?
current_path?('merge_requests#diffs') ||
cookies[:collapsed_gutter] == 'true'
end
def nav_sidebar_class
if nav_menu_collapsed?
"sidebar-collapsed"
......@@ -44,8 +30,6 @@ def page_gutter_class
else
"page-gutter right-sidebar-expanded"
end
elsif current_path?('merge_requests#diffs')
"page-gutter right-sidebar-collapsed"
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment