aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/api
diff options
context:
space:
mode:
authorXinhui2017-08-22 16:01:56 +0200
committerXinhui2017-08-22 16:01:56 +0200
commite793bffd18b331f2db2bb567c479fdbf02c66aec (patch)
tree7cb066eab3db23e68659fa365b42180a5becd2b0 /app/controllers/api
parent2df1767902996d43b56aa215bea15a033237b3ec (diff)
downloadchouette-core-e793bffd18b331f2db2bb567c479fdbf02c66aec.tar.bz2
API - workbench imports controller
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/v1/imports_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/api/v1/imports_controller.rb b/app/controllers/api/v1/imports_controller.rb
new file mode 100644
index 000000000..ac2ec4516
--- /dev/null
+++ b/app/controllers/api/v1/imports_controller.rb
@@ -0,0 +1,4 @@
+class Api::V1::ImportsController < Api::V1::IbooController
+ defaults :resource_class => Api::V1::ApiKey
+ belongs_to :workbench
+end