Sha256: c5fd05a827972872a870e8c2026dc166fd72c6a6de77c658454769acec376151

Contents?: true

Size: 303 Bytes

Versions: 2

Compression:

Stored size: 303 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.6.0 templates/app/controllers/application_controller.rb
cybele-0.5.0 templates/app/controllers/application_controller.rb