Permalink
Browse files

Remove locale from params in items too.

  • Loading branch information...
1 parent cd3f175 commit 3fbaebc260e7c19efa4131b0ca556bf026ca1a7a @robyurkowski robyurkowski committed Mar 6, 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(params.except(:controller, :action, :switch_locale))
+ @item = Item.new(params.except(:controller, :action, :switch_locale, :locale))
end
private

0 comments on commit 3fbaebc

Please sign in to comment.