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:
authorJames Lopez <james@jameslopez.es>2017-02-07 13:00:47 +0300
committerJames Lopez <james@jameslopez.es>2017-02-07 13:00:47 +0300
commita130dc6fd8fe498dd9c64110524dcc3210803c2f (patch)
tree9567e819a1a9f3586378f715f2969b8d76bb07a5 /lib/tasks/grape.rake
parent014db24aae36370f4468db3fe282bc9add1c81fd (diff)
added missed commit in rebase
Diffstat (limited to 'lib/tasks/grape.rake')
-rw-r--r--lib/tasks/grape.rake4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/tasks/grape.rake b/lib/tasks/grape.rake
index f13812cec92..ea2698da606 100644
--- a/lib/tasks/grape.rake
+++ b/lib/tasks/grape.rake
@@ -7,8 +7,6 @@ namespace :grape do
end
def route_description(options)
- if options[:settings][:description]
- options[:settings][:description][:description]
- end || ''
+ options[:settings][:description][:description] if options[:settings][:description]
end
end