summaryrefslogtreecommitdiff
path: root/app/controllers/my
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-05-31 09:25:02 -0600
committermo khan <mo@mokhan.ca>2014-05-31 09:25:02 -0600
commitca077fb9a3881b3998ed2513dca6b792aaaaa3d3 (patch)
tree39af78f23ace3693a18d3d2913efb52684672437 /app/controllers/my
parentae0b2ea1acfd1f3c1b054eb005e1708bba8f5c97 (diff)
add handler to process photo in background.
Diffstat (limited to 'app/controllers/my')
-rw-r--r--app/controllers/my/photos_controller.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/my/photos_controller.rb b/app/controllers/my/photos_controller.rb
index 90c936f7..d5dc460f 100644
--- a/app/controllers/my/photos_controller.rb
+++ b/app/controllers/my/photos_controller.rb
@@ -2,10 +2,10 @@ module My
class PhotosController < BaseController
before_filter :find_creation
- #def initialize(mapper = PhotoToJQJsonMapper.new)
- #@mapper = mapper
- #super()
- #end
+ def initialize(mapper = PhotoToJQJsonMapper.new)
+ @mapper = mapper
+ super()
+ end
def index
@photos = @cake.photos