Add section elements
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
module Suppliers
|
||||
class SvgElementsController < Suppliers::ApplicationController
|
||||
def index
|
||||
@svg_elements = SvgElement.all
|
||||
render json: @svg_elements, each_serializer: Suppliers::SvgElementSerializer
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user