From 94cfd1cc498cc415260821ae4d42d534a5583af3 Mon Sep 17 00:00:00 2001 From: James Lopez Date: Mon, 6 Feb 2017 15:45:43 +0000 Subject: Update grape.rake --- lib/tasks/grape.rake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/tasks/grape.rake') 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 -- cgit v1.2.1