No clue, but it makes it better
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module Suppliers
|
||||
class SvgElementsController < Suppliers::ApplicationController
|
||||
def index
|
||||
@svg_elements = SvgElement.all
|
||||
@svg_elements = SvgElement.active
|
||||
render json: @svg_elements, each_serializer: Suppliers::SvgElementSerializer
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user