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.8.rc2 lib/rails/generators/rails/controller/templates/controller.rb
challah-0.7.0.pre vendor/bundle/gems/railties-3.2.7/lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.8.rc1 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.7 lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.7.rc1 lib/rails/generators/rails/controller/templates/controller.rb
challah-0.6.2 vendor/bundle/gems/railties-3.2.6/lib/rails/generators/rails/controller/templates/controller.rb
initforthe-cookies-0.0.1 vendor/bundle/gems/railties-3.2.6/lib/rails/generators/rails/controller/templates/controller.rb
rails-uploader-0.0.4 vendor/bundle/ruby/1.9.1/gems/railties-3.2.6/lib/rails/generators/rails/controller/templates/controller.rb
railties-3.2.6 lib/rails/generators/rails/controller/templates/controller.rb