anyone-oslo/pages

View on GitHub
lib/rails/generators/pages_core/install/templates/application_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class ApplicationController < PagesCore::BaseController
  # Put frontend specific code in frontend_controller.rb

  helper :all # include all helpers, all the time

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