lib/avo/dynamic_router.rb in avo-2.8.0 vs lib/avo/dynamic_router.rb in avo-2.9.0
- old
+ new
@@ -12,10 +12,10 @@
end
# .select do |resource|
# resource.model_class.present?
# end
.map do |resource|
- router.resources resource.new.model_key
+ router.resources resource.new.route_key
end
end
end
end