diff --git a/app/controllers/releaf/base_controller.rb b/app/controllers/releaf/base_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/releaf/base_controller.rb
+++ b/app/controllers/releaf/base_controller.rb
@@ -721,17 +721,18 @@ module Releaf
       end
     end
 
-    def add_resource_breadcrumb resource
+
+    def add_resource_breadcrumb resource, url = nil
       if resource.new_record?
         name=  I18n.t('New record', scope: 'admin.breadcrumbs')
-        url = url_for(action: :new, only_path: true)
+        url = url_for(action: :new, only_path: true) if url.nil?
       else
         if resource.respond_to?(:to_text)
           name = resource.send(:to_text)
         else
           name = I18n.t('Edit record', scope: 'admin.breadcrumbs')
         end
-        url = url_for(action: :edit, id: resource.id, only_path: true)
+        url = url_for(action: :edit, id: resource.id, only_path: true) if url.nil?
       end
       @breadcrumbs << { name: name, url: url }
     end
Possibility to add already built url for resource breadcrumb