magiclabs/alchemy_cms — Issue #75: creating and rendering elements in admin namespace not possible
Author: robinboening
Created: 2011-10-24 07:11:11+00:00
State: open
Labels: bug, discussion needed, ruby

Creating a new element ends up in ActionView::Template::Error
This error also occurs when redering elements in admin namespace.

The problem is:
In our admin namespace we can currently use the admin::elements helper only.
This means, we can not use methods defined in the elements_helper like "render_elements".
We need this methods also in the namespace, damn.

putting "helper :elements" in the admin/elements_controller.rb helps out, but is there a better solution?