diff options
| author | Robert | 2017-07-17 12:11:43 +0200 |
|---|---|---|
| committer | Robert | 2017-07-17 13:07:13 +0200 |
| commit | 0a12bcfd146fef2fe173ebe65b364d28c90969a3 (patch) | |
| tree | 9ef55b2601b8dddc61b040fa8a61b3bc4ff7a091 /app | |
| parent | 781f3ae0b3dab188ba7bb960e46addb0995b45f2 (diff) | |
| download | chouette-core-0a12bcfd146fef2fe173ebe65b364d28c90969a3.tar.bz2 | |
Refs: #3506@1.5h sketching out specs [amend me]
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 |
