def inheritable_controller(param = nil)
      descendants = inheritable_root_controller.descendants
      c = find_inheritable_artifact(param) do |folder|
        descendants.any? { |s| s.controller_path == folder }
      end
      c || inheritable_root_controller.controller_path
    end
def inheritable_controller(param = nil)
      descendants = inheritable_root_controller.descendants
      c = find_inheritable_artifact(param) do |folder|
        descendants.any? { |s| s.controller_path == folder }
      end
      c || inheritable_root_controller.controller_path
    end
Performs a lookup for a controller and returns the name of the most specific one found.
 This method is primarly usefull when given a 'param' argument that is used
 in a custom #template_lookup_path. In this case, no controller class would need to
 exist to render templates from corresponding view folders.