Sha256: f54cb97523793aa10f9d0c5ae86c6fd09640775f91e0080dbb352057f0595bfa

Contents?: true

Size: 315 Bytes

Versions: 564

Compression:

Stored size: 315 Bytes

Contents

<% if namespaced? -%>
require_dependency "<%= namespaced_path %>/application_controller"

<% end -%>
<% module_namespacing do -%>
class <%= class_name %>Controller < ApplicationController
<% actions.each do |action| -%>
  def <%= action %>
  end
<%= "\n" unless action == actions.last -%>
<% end -%>
end
<% end -%>

Version data entries

564 entries across 551 versions & 26 rubygems

Version Path
railties-6.1.7.10 lib/rails/generators/rails/controller/templates/controller.rb.tt
railties-6.1.7.9 lib/rails/generators/rails/controller/templates/controller.rb.tt
jets-4.0.12 lib/jets/generator/templates/rails/controller/controller.rb
jets-4.0.11 lib/jets/generator/templates/rails/controller/controller.rb
railties-6.1.7.8 lib/rails/generators/rails/controller/templates/controller.rb.tt
railties-6.1.7.7 lib/rails/generators/rails/controller/templates/controller.rb.tt
jets-4.0.10 lib/jets/generator/templates/rails/controller/controller.rb
jets-4.0.9 lib/jets/generator/templates/rails/controller/controller.rb
jets-4.0.8 lib/jets/generator/templates/rails/controller/controller.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/generators/rails/controller/templates/controller.rb.tt
jets-4.0.7 lib/jets/generator/templates/rails/controller/controller.rb
jets-4.0.6 lib/jets/generator/templates/rails/controller/controller.rb
jets-4.0.5 lib/jets/generator/templates/rails/controller/controller.rb
jets-4.0.4 lib/jets/generator/templates/rails/controller/controller.rb
railties-6.1.7.6 lib/rails/generators/rails/controller/templates/controller.rb.tt
railties-6.1.7.5 lib/rails/generators/rails/controller/templates/controller.rb.tt
jets-4.0.3 lib/jets/generator/templates/rails/controller/controller.rb
jets-4.0.2 lib/jets/generator/templates/rails/controller/controller.rb
railties-6.1.7.4 lib/rails/generators/rails/controller/templates/controller.rb.tt
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/generators/rails/controller/templates/controller.rb.tt