diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/api/v1/imports_controller.rb | 10 | ||||
| -rw-r--r-- | app/controllers/imports_controller.rb | 2 |
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 |
