aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorRobert2017-07-17 12:11:43 +0200
committerRobert2017-07-17 13:13:29 +0200
commit4f4d43779ed3f9e6d1752dbe00d698bcc1a04966 (patch)
treee53010bc5236edc31a958e25c3773abc3f992cfb /app
parent03c2dcba29f1d6b4a8d22bd091e036fcf5600924 (diff)
downloadchouette-core-4f4d43779ed3f9e6d1752dbe00d698bcc1a04966.tar.bz2
Refs: #3506@1.5h sketching out specs [amend me]
Diffstat (limited to 'app')
-rw-r--r--app/controllers/api/v1/imports_controller.rb10
-rw-r--r--app/controllers/imports_controller.rb2
2 files changed, 12 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..7dc3021d9
--- /dev/null
+++ b/app/controllers/api/v1/imports_controller.rb
@@ -0,0 +1,10 @@
+module Api
+ module V1
+ class ImportsController < ChouetteController
+
+ def create
+
+ end
+ end
+ end
+end
diff --git a/app/controllers/imports_controller.rb b/app/controllers/imports_controller.rb
index 70c5c1a0d..01a46f064 100644
--- a/app/controllers/imports_controller.rb
+++ b/app/controllers/imports_controller.rb
@@ -23,6 +23,8 @@ class ImportsController < BreadcrumbController
end
def create
+ require 'pry'
+ binding.pry
create! { workbench_import_path(parent, resource) }
end