class Api::RulesController < ApplicationController include Forcast::Application::Permitirtodo include Forcast::Controller::Relacion include Forcast::Controller::Filtro include Forcast::Controller::Busqueda include Forcast::Controller::RuleEngine::RuleEngine private def validate_model return rule_models = ["Usuario", "Administrador"] end end