Method: Underworld::APIController#allowed_fields
- Defined in:
- app/controllers/underworld/api_controller.rb
#allowed_fields ⇒ Object
This attribute holds the allowed fileds which we will allow for making query
103 104 105 106 |
# File 'app/controllers/underworld/api_controller.rb', line 103 def allowed_fields return allowed_query_on if self.respond_to?(:allowed_query_on, true) @allowed_fields || [] end |