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
diff options
context:
space:
mode:
authorHiroyuki Sato <sathiroyuki@gmail.com>2013-08-21 11:55:18 +0400
committerHiroyuki Sato <sathiroyuki@gmail.com>2013-08-21 12:53:51 +0400
commit5f24bdb7d067df9204e08e126f43c071116089b0 (patch)
tree750250171049a6501692e3f8497b0485eaaac042 /app/controllers/projects/network_controller.rb
parent0a44ecf3a0eb7be66b2dbbb6e8404e3242a4b016 (diff)
Render not found when failing to look for a commit
Diffstat (limited to 'app/controllers/projects/network_controller.rb')
-rw-r--r--app/controllers/projects/network_controller.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/projects/network_controller.rb b/app/controllers/projects/network_controller.rb
index e4a84f80787..9832495c64f 100644
--- a/app/controllers/projects/network_controller.rb
+++ b/app/controllers/projects/network_controller.rb
@@ -8,10 +8,6 @@ class Projects::NetworkController < Projects::ApplicationController
before_filter :require_non_empty_project
def show
- if @options[:q]
- @commit = @project.repository.commit(@options[:q]) || @commit
- end
-
respond_to do |format|
format.html