summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorHiroyuki Sato <sathiroyuki@gmail.com>2013-08-21 16:55:18 +0900
committerHiroyuki Sato <sathiroyuki@gmail.com>2013-08-21 17:53:51 +0900
commit5f24bdb7d067df9204e08e126f43c071116089b0 (patch)
tree750250171049a6501692e3f8497b0485eaaac042 /app/controllers
parent0a44ecf3a0eb7be66b2dbbb6e8404e3242a4b016 (diff)
downloadgitlab-ce-5f24bdb7d067df9204e08e126f43c071116089b0.tar.gz
Render not found when failing to look for a commit
Diffstat (limited to 'app/controllers')
-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