Skip to content

Commit

Permalink
fixes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Valade committed Apr 19, 2010
1 parent 2173241 commit 1777a86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/controllers/albums_controller.rb
Expand Up @@ -6,7 +6,9 @@ def index

def show
@album = Album.find(params[:id])
@images = 10.times.map { |i| @album.images.build }
@images = 10.times.map do |i|
@album.images.build
end
end

end

0 comments on commit 1777a86

Please sign in to comment.