summaryrefslogtreecommitdiff
path: root/app/controllers/api
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-11-18 21:38:42 -0700
committermo khan <mo@mokhan.ca>2014-11-18 21:38:42 -0700
commit19fecb1dbc4daae493edfb9c6e3089e4be819d27 (patch)
tree64d9ab8070258a11f9170eed8979351085526ae3 /app/controllers/api
parent9e6e7519408839dee4d529835845191fe299bab7 (diff)
start v2 of the api for ember.
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/v2/cakes_controller.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/controllers/api/v2/cakes_controller.rb b/app/controllers/api/v2/cakes_controller.rb
new file mode 100644
index 00000000..72652b98
--- /dev/null
+++ b/app/controllers/api/v2/cakes_controller.rb
@@ -0,0 +1,9 @@
+module Api
+ module V2
+ class CakesController < ApplicationController
+ def index
+ @cakes = Creation.all
+ end
+ end
+ end
+end