Browse files

Correct gallery/gallery_id reference.

  • Loading branch information...
1 parent 2b6cab4 commit ee8de9354e47435a76a21eb4e71dba6a20e14120 Rob Holland committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/refinery/portfolio/admin/items_controller.rb
View
2 app/controllers/refinery/portfolio/admin/items_controller.rb
@@ -23,7 +23,7 @@ def index
end
def new
- @item = Item.new(:gallery_id => find_gallery)
+ @item = Item.new(:gallery => find_gallery)
end
private

0 comments on commit ee8de93

Please sign in to comment.