refactoring + remove unnecessary feature

This commit is contained in:
gitlabhq 2011-10-14 19:30:31 +03:00
parent 2d577cae9d
commit 153f6cd86b
7 changed files with 36 additions and 50 deletions

View file

@ -3,12 +3,4 @@ module ProjectsHelper
cookies["project_view"] ||= "tile"
cookies["project_view"] == type ? nil : "display:none"
end
def remember_refs
session[:ui] ||= {}
session[:ui][@project.id] = {
:branch => params[:branch],
:tag => params[:tag]
}
end
end