Skip to content

Commit 6663f3a

Browse files
committed
Add id and type back to photos#new
1 parent 4510307 commit 6663f3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/controllers/photos_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ def index
1919
def new
2020
@photo = Photo.new
2121
@item = item_to_link_to
22+
@type = item_type
23+
@id = item_id
2224
retrieve_from_flickr
2325
respond_with @photo
2426
end

0 commit comments

Comments
 (0)