Sha256: 473d0eaad94b53c963f75b1c263a69dce0731a0f538b4dfa0629fcb6265eb3ce
Contents?: true
Size: 360 Bytes
Versions: 12
Compression:
Stored size: 360 Bytes
Contents
require_dependency 'avo/application_controller' module Avo class FiltersController < ApplicationController before_action :authorize_user def index filters = [] avo_resource.get_filters.each do |filter| filters.push(filter.new.render_response) end render json: { filters: filters, } end end end
Version data entries
12 entries across 12 versions & 1 rubygems