diff --git a/app/components/bike_brands.rb b/app/components/bike_brands.rb index 58c9341..a83e4c2 100644 --- a/app/components/bike_brands.rb +++ b/app/components/bike_brands.rb @@ -6,7 +6,7 @@ class BikeBrands < Netzke::Basepack::Grid c.prohibit_update = true if cannot? :update, BikeBrand c.prohibit_create = true if cannot? :create, BikeBrand - c.prohibit_delete = true if cannot? :delete, BikeBrand + c.prohibit_delete = true if cannot? :delete, BikeBrand end #override with nil to remove actions