gitlab-org--gitlab-foss/lib/tasks/grape.rake
Dmitriy Zaporozhets d343d9d8c2
Add grape routing print
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-12 16:26:23 +01:00

8 lines
159 B
Ruby

namespace :grape do
desc 'Print compiled grape routes'
task routes: :environment do
API::API.routes.each do |route|
puts route
end
end
end