diff --git a/app/controllers/cms/pages_controller.rb b/app/controllers/cms/pages_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/cms/pages_controller.rb
+++ b/app/controllers/cms/pages_controller.rb
@@ -7,5 +7,9 @@ module Cms
           %w(id title slug body created_at updated_at).include?(column.name)
         end
       end
+
+      def resource_model
+        Cms::Page
+      end
   end
 end
diff --git a/app/controllers/cms/resources_controller.rb b/app/controllers/cms/resources_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/cms/resources_controller.rb
+++ b/app/controllers/cms/resources_controller.rb
@@ -43,7 +43,7 @@ module Cms
     private
 
       def set_resource
-        @resource = params[:controller].classify.safe_constantize
+        @resource = resource_model
       end
 
       def set_entry
@@ -60,6 +60,10 @@ module Cms
         end
       end
 
+      def resource_model
+        params[:controller].sub(/^cms\//, '').classify.safe_constantize
+      end
+
       def resource_params
         params.require(@resource.model_name.element).permit(*@columns_for_form.map(&:name))
       end
Add resource_model private method for resources