No clue, but it makes it better

This commit is contained in:
2015-03-01 20:32:44 +01:00
parent 119ee7ddc8
commit 1d5a319d4e
8 changed files with 16 additions and 2 deletions
@@ -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