summaryrefslogtreecommitdiff
path: root/lib/tasks/grape.rake
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-16 10:18:32 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-16 10:18:32 +0100
commita43a218c98ba826ac9d8e0aa764d5a9341a6f64d (patch)
tree7311d58d02b22b93d379a8ee969feaa5caa276e1 /lib/tasks/grape.rake
parentaec9f211e534900f602e769dcdd6f69730849f92 (diff)
parent743d66e4da5c11f638d12a7f7ec6354631ee2b90 (diff)
downloadgitlab-ce-a43a218c98ba826ac9d8e0aa764d5a9341a6f64d.tar.gz
Merge branch 'releases-feature'
Diffstat (limited to 'lib/tasks/grape.rake')
-rw-r--r--lib/tasks/grape.rake8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/tasks/grape.rake b/lib/tasks/grape.rake
new file mode 100644
index 00000000000..9980e0b7984
--- /dev/null
+++ b/lib/tasks/grape.rake
@@ -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