aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/controller/templates
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/generators/rails/controller/templates')
-rw-r--r--railties/lib/generators/rails/controller/templates/controller.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/lib/generators/rails/controller/templates/controller.rb b/railties/lib/generators/rails/controller/templates/controller.rb
new file mode 100644
index 0000000000..cda2659e69
--- /dev/null
+++ b/railties/lib/generators/rails/controller/templates/controller.rb
@@ -0,0 +1,7 @@
+class <%= class_name %>Controller < ApplicationController
+<% for action in actions -%>
+ def <%= action %>
+ end
+
+<% end -%>
+end