Class: Attachinary::CorsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Attachinary::CorsController
- Defined in:
- app/controllers/attachinary/cors_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
4 5 6 7 8 |
# File 'app/controllers/attachinary/cors_controller.rb', line 4 def show respond_to do |format| format.json { render json: request.query_parameters, content_type: "text/plain" } end end |