Class: Motor::ResourceDefaultQueriesController
- Inherits:
-
ApiBaseController
- Object
- ActionController::API
- ApiBaseController
- Motor::ResourceDefaultQueriesController
- Defined in:
- app/controllers/motor/resource_default_queries_controller.rb
Instance Method Summary collapse
Methods included from CurrentAbility
Methods included from CurrentUserMethod
Instance Method Details
#show ⇒ Object
9 10 11 |
# File 'app/controllers/motor/resource_default_queries_controller.rb', line 9 def show render json: { data: { sql: resource_class.all.to_sql } } end |