Sha256: 803c96d3db3b67c1def615a00f551ee8fbd81017363fec956dfc17e81ab978bb
Contents?: true
Size: 235 Bytes
Versions: 2
Compression:
Stored size: 235 Bytes
Contents
class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception def index head :ok end end
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
elasticonf-rails-1.0.0 | spec/apps/rails_4.0/app/controllers/application_controller.rb |
elasticonf-rails-1.0.0 | spec/apps/rails_4.1/app/controllers/application_controller.rb |