summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-02-07 11:00:47 +0100
committerJames Lopez <james@jameslopez.es>2017-02-07 11:00:47 +0100
commita130dc6fd8fe498dd9c64110524dcc3210803c2f (patch)
tree9567e819a1a9f3586378f715f2969b8d76bb07a5
parent014db24aae36370f4468db3fe282bc9add1c81fd (diff)
downloadgitlab-ce-a130dc6fd8fe498dd9c64110524dcc3210803c2f.tar.gz
added missed commit in rebase
-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