magiclabs/alchemy_cms — Issue #159: Default 'overlay => true' in base_helper/toolbar_button results in Error when no Overlay-Options are given
Author: masche842
Created: 2012-01-24 05:00:31+00:00
State: open

Error: can't convert nil into Hash
app/helpers/alchemy/admin/base_helper.rb:22:in `merge'
app/helpers/alchemy/admin/base_helper.rb:22:in `link_to_overlay_window'
app/helpers/alchemy/admin/base_helper.rb:313:in `block in toolbar_button'

Two solutions:
- Defaults that work in every case
- overlay = false as default

I think I'll prefer the second one. But what if you don't set overlay explicitly but give overlay-options... What do you think?