Sha256: 3761e702e8f49e99efdf175c4d579a89d19cf90f7b9398f0e20dbfbaadebed4f

Contents?: true

Size: 320 Bytes

Versions: 109

Compression:

Stored size: 320 Bytes

Contents

<% if namespaced? -%>
require_dependency "<%= namespaced_file_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

109 entries across 87 versions & 20 rubygems

Version Path
railties-3.2.22.5 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.22.4 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.22.3 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.22.2 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.22.1 lib/rails/generators/rails/controller/templates/controller.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.22 lib/rails/generators/rails/controller/templates/controller.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/railties-3.2.12/lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.21 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.20 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.19 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.18 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.17 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.16 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.15 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.15.rc3 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.15.rc2 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.15.rc1 lib/rails/generators/rails/controller/templates/controller.rb
openehr-rails-0.0.2 lib/generators/openehr/controller/templates/controller.rb
railties-3.2.14 lib/rails/generators/rails/controller/templates/controller.rb