Sha256: fca8fb46fecc902d695b40f22c0cfe9513627e45ab0727a98ea17a7c3b60016a

Contents?: true

Size: 304 Bytes

Versions: 2

Compression:

Stored size: 304 Bytes

Contents

require 'application_responder'

class ApplicationController < ActionController::Base
  self.responder = ApplicationResponder
  respond_to :html, :json

  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  protect_from_forgery with: :exception
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cybele-0.4.1 templates/app/controllers/application_controller.rb
cybele-0.4.0 templates/app/controllers/application_controller.rb