Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2012-06-13 16:22:40 +0400
committerNihad Abbasov <narkoz.2008@gmail.com>2012-06-13 16:22:40 +0400
commite735763f276b1950e89383b0ef40afc6dffeca32 (patch)
treed6f50551e0f9062a376210888449a1f7a07d1692 /app
parentd1953a26401c0550670fc780a4516b0799238454 (diff)
remove useless index method from projects controller
see edd81a79c5c2a61e565664cfa787185c4e19729b
Diffstat (limited to 'app')
-rw-r--r--app/controllers/projects_controller.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index d049ce56f88..609445e6c7e 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -10,19 +10,6 @@ class ProjectsController < ApplicationController
before_filter :authorize_admin_project!, :only => [:edit, :update, :destroy]
before_filter :require_non_empty_project, :only => [:blob, :tree, :graph]
- def index
- @projects = current_user.projects.includes(:events).order("events.created_at DESC")
- @projects = @projects.page(params[:page]).per(40)
- @events = Event.where(:project_id => current_user.projects.map(&:id)).recent.limit(20)
-
- @last_push = current_user.recent_push
-
- respond_to do |format|
- format.html
- format.atom { render :layout => false }
- end
- end
-
def new
@project = Project.new
end