Skip to content

Commit

Permalink
Allow extra parameters to be passed when creating image.
Browse files Browse the repository at this point in the history
  • Loading branch information
tbuyle authored and ugisozols committed Sep 5, 2012
1 parent 2996a3e commit b900c61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

* [See full list](https://github.com/refinery/refinerycms/compare/2-0-stable...master)

## 2.0.9 [unreleased]
* Allowed extra parameters to be passed when creating image [#1914](https://github.com/refinery/refinerycms/pull/1914). [tbuyle](https://github.com/tbuyle)

## 2.0.8 [17 August 2012]
* Fixes installs broken by the release of jquery-rails 2.1.0 by requiring ~> 2.0.0. [Rob Yurkowski](https://github.com/robyurkowski)

Expand Down
2 changes: 1 addition & 1 deletion images/app/controllers/refinery/admin/images_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def create
@images << (@image = ::Refinery::Image.create(params[:image]))
else
params[:image][:image].each do |image|
@images << (@image = ::Refinery::Image.create(:image => image))
@images << (@image = ::Refinery::Image.create({:image => image}.merge(params[:image].except(:image))))
end
end
rescue Dragonfly::FunctionManager::UnableToHandle
Expand Down

0 comments on commit b900c61

Please sign in to comment.