diff options
| author | mo <mokha@cisco.com> | 2017-09-01 22:51:34 -0600 |
|---|---|---|
| committer | mo <mokha@cisco.com> | 2017-09-01 22:51:34 -0600 |
| commit | e4b2373b172d49afce8045d664080735b0ff9fb1 (patch) | |
| tree | 115ca6d6d84db5b0d5504807bf25360847644677 /app/controllers | |
| parent | 7a5b6a9f80d534bfa32bb6deb92ccb12762815e8 (diff) | |
remove photos controller.
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/photos_controller.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/controllers/photos_controller.rb b/app/controllers/photos_controller.rb deleted file mode 100644 index bf11909f..00000000 --- a/app/controllers/photos_controller.rb +++ /dev/null @@ -1,11 +0,0 @@ -class PhotosController < ApplicationController - def index - @creation = Creation.find(params[:cake_id]) - @photos = @creation.photos - end - - def show - @creation = Creation.find(params[:cake_id]) - @photo = @creation.photos.find(params[:id]) - end -end |
