Class: ExcursionController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/excursion_controller.rb

Instance Method Summary collapse

Instance Method Details

#cors_preflightObject



2
3
4
5
# File 'app/controllers/excursion_controller.rb', line 2

def cors_preflight
  cors_headers
  render :text => '', :content_type => 'text/plain'
end