Add grape routing print

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-11-12 16:26:23 +01:00
parent a5ab56fd91
commit d343d9d8c2
No known key found for this signature in database
GPG key ID: 627C5F589F467F17

8
lib/tasks/grape.rake Normal file
View file

@ -0,0 +1,8 @@
namespace :grape do
desc 'Print compiled grape routes'
task routes: :environment do
API::API.routes.each do |route|
puts route
end
end
end