diff options
| author | mo khan <mo@mokhan.ca> | 2014-07-05 20:52:04 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-07-05 20:52:04 -0600 |
| commit | 11b5a563d96121f6add9e83da47df00638c10ec4 (patch) | |
| tree | 0cdfe6b2bff18090517623cb8f392190897ccd7b /app/controllers/api/v1 | |
| parent | 76862b73aaa4595f8313fed29c528b12bde55eb7 (diff) | |
attach a watermark to the photo during upload.
Diffstat (limited to 'app/controllers/api/v1')
| -rw-r--r-- | app/controllers/api/v1/photos_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/photos_controller.rb b/app/controllers/api/v1/photos_controller.rb index 9d8ec55a..2e4d9709 100644 --- a/app/controllers/api/v1/photos_controller.rb +++ b/app/controllers/api/v1/photos_controller.rb @@ -21,7 +21,7 @@ module Api private def photo_params - params.require(:photo).permit(:image) + params.require(:photo).permit(:image, :watermark) end end end |
