Sha256: 4f2f77928cbf7e04885196258f0478cfc46545ec11c627bbfaed8b17b643b617

Contents?: true

Size: 342 Bytes

Versions: 3

Compression:

Stored size: 342 Bytes

Contents

# encoding: utf-8

class ApplicationController < PagesCore::ApplicationController
  # 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pages_core-3.4.3 lib/rails/generators/pages_core/install/templates/application_controller.rb
pages_core-3.5.1 lib/rails/generators/pages_core/install/templates/application_controller.rb
pages_core-3.4.2 lib/rails/generators/pages_core/install/templates/application_controller.rb