Class: Attachinary::CorsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/attachinary/cors_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



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