lib/active_admin/resource/controllers.rb in activeadmin-0.6.6 vs lib/active_admin/resource/controllers.rb in activeadmin-1.0.0.pre1
- old
+ new
@@ -1,7 +1,8 @@
module ActiveAdmin
class Resource
module Controllers
+ delegate :resources_configuration, to: :controller
# Returns a properly formatted controller name for this
# config within its namespace
def controller_name
[namespace.module_name, resource_name.plural.camelize + "Controller"].compact.join('::')