lib/active_admin/resource/controllers.rb in activeadmin-2.8.0 vs lib/active_admin/resource/controllers.rb in activeadmin-2.8.1
- old
+ new
@@ -4,10 +4,10 @@
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('::')
+ [namespace.module_name, resource_name.plural.camelize + "Controller"].compact.join("::")
end
# Returns the controller for this config
def controller
@controller ||= controller_name.constantize