diff --git a/lib/trust/controller/resource.rb b/lib/trust/controller/resource.rb
index <HASH>..<HASH> 100644
--- a/lib/trust/controller/resource.rb
+++ b/lib/trust/controller/resource.rb
@@ -300,7 +300,7 @@ module Trust
         if associated_resource && associated_resource.object
           [associated_resource.object, instance || association_name(associated_resource)]
         else
-          path
+          klass
         end
       end
       
diff --git a/test/unit/trust/controller/resource_test.rb b/test/unit/trust/controller/resource_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/trust/controller/resource_test.rb
+++ b/test/unit/trust/controller/resource_test.rb
@@ -76,8 +76,8 @@ class Trust::Controller::ResourceTest < ActiveSupport::TestCase
           @res.expects(:association_name).with(parent).returns(15)
           assert_equal [12, 15], @res.collection(parent)
         end
-        should 'return path where no parent' do
-          assert_equal 'name_spaced_resource/my_entities', @res.collection(nil)
+        should 'return class where no parent' do
+          assert_equal NameSpacedResource::MyEntity, @res.collection(nil)
         end
         should 'return with instance if present' do
           parent = stub('parent', :object => 12)
ResourceInfo collection was failing when no parent