diff --git a/app/components/avo/index/resource_controls_component.rb b/app/components/avo/index/resource_controls_component.rb index 324e51d699..61c239bfcb 100644 --- a/app/components/avo/index/resource_controls_component.rb +++ b/app/components/avo/index/resource_controls_component.rb @@ -148,7 +148,7 @@ def render_detach_button(control) a_button url: helpers.resource_detach_path(params[:resource_name], params[:id], params[:related_name], @resource.record.id), style: :icon, color: :gray, - icon: "detach", + icon: "avo/detach", form_class: "flex items-center", title: control.title, aria: {label: control.title}, diff --git a/lib/generators/avo/templates/initializer/avo.tt b/lib/generators/avo/templates/initializer/avo.tt index b204348a06..20b8e4f5ca 100644 --- a/lib/generators/avo/templates/initializer/avo.tt +++ b/lib/generators/avo/templates/initializer/avo.tt @@ -130,11 +130,11 @@ Avo.configure do |config| ## == Menus == # config.main_menu = -> { - # section "Dashboards", icon: "dashboards" do + # section "Dashboards", icon: "avo/dashboards" do # all_dashboards # end - # section "Resources", icon: "resources" do + # section "Resources", icon: "avo/resources" do # all_resources # end