Remove unused methods

This commit is contained in:
Andrey Vakarev 2012-06-03 22:27:34 +03:00
parent a35a12980e
commit 16b49124be
5 changed files with 1 additions and 113 deletions

View file

@ -1,22 +1,2 @@
module ProjectsHelper
def view_mode_style(type)
cookies["project_view"] ||= "tile"
cookies["project_view"] == type ? nil : "display:none"
end
def load_note_parent(id, type, project)
case type
when "Issue" then @project.issues.find(id)
when "Commit" then @project.repo.commits(id).first
when "Snippet" then @project.snippets.find(id)
else
true
end
rescue
nil
end
def repository_tab_class
end
end