Sha256: fd21d96d8d24dfbd7d725a986e69a2138ff9e95b0c1c40b8eef36f43b0104029

Contents?: true

Size: 347 Bytes

Versions: 28

Compression:

Stored size: 347 Bytes

Contents

# 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

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
pages_core-3.9.2 lib/rails/generators/pages_core/install/templates/application_controller.rb
pages_core-3.9.1 lib/rails/generators/pages_core/install/templates/application_controller.rb
pages_core-3.9.0 lib/rails/generators/pages_core/install/templates/application_controller.rb
pages_core-3.8.3 lib/rails/generators/pages_core/install/templates/application_controller.rb
pages_core-3.8.2 lib/rails/generators/pages_core/install/templates/application_controller.rb
pages_core-3.8.1 lib/rails/generators/pages_core/install/templates/application_controller.rb
pages_core-3.8.0 lib/rails/generators/pages_core/install/templates/application_controller.rb
pages_core-3.7.0 lib/rails/generators/pages_core/install/templates/application_controller.rb