Sha256: 672502089a023f910f63d4a018472ab926fd90380f6255a209d8e717a542bd01
Contents?: true
Size: 248 Bytes
Versions: 22
Compression:
Stored size: 248 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 render text: 'Hello' end end
Version data entries
22 entries across 22 versions & 1 rubygems