Sha256: 5f5a27dd93a03c3e279e29de4ccc23620a8fd6580203f61e68bd70f594f94dd0

Contents?: true

Size: 171 Bytes

Versions: 48

Compression:

Stored size: 171 Bytes

Contents

class ApplicationController < ActionController::<%= options[:api] ? "API" : "Base" %>
<%- unless options[:api] -%>
  protect_from_forgery with: :exception
<%- end -%>
end

Version data entries

48 entries across 48 versions & 4 rubygems

Version Path
railties-5.1.7 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.1.7.rc1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.1.6.2 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.0.7.2 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.1.6.1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.0.7.1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.1.6 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.0.7 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.1.5 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.1.5.rc1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.1.4 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.0.6 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.1.4.rc1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.0.6.rc1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.1.3 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.1.3.rc3 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.0.5 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.0.5.rc2 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.1.3.rc2 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
railties-5.0.5.rc1 lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt