diff options
author | Ralf Seidler <ralf.seidler@uni-jena.de> | 2014-09-06 13:46:14 +0400 |
---|---|---|
committer | Ralf Seidler <ralf.seidler@uni-jena.de> | 2014-09-06 13:46:14 +0400 |
commit | 23241c181c0becdff17365aa49f80c05210f8b16 (patch) | |
tree | b5cf97191951d98ca5c5f055525b4ce7654d0dc9 /app/controllers/search_controller.rb | |
parent | d93b046c4c7adf5a8fe37122864d7b1fabbd5bf6 (diff) |
Fixed houndci complaining over too long lines
Diffstat (limited to 'app/controllers/search_controller.rb')
-rw-r--r-- | app/controllers/search_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index 121307ae1f7..95eac66784d 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -9,7 +9,8 @@ class SearchController < ApplicationController @search_results = if @project return access_denied! unless can?(current_user, :download_code, @project) - unless %w(blobs notes issues merge_requests wiki_blobs).include?(@scope) + unless %w(blobs notes issues merge_requests wiki_blobs). + include?(@scope) @scope = 'blobs' end |