summaryrefslogtreecommitdiffstats
path: root/lib/generators/redmine_plugin_controller/templates/controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generators/redmine_plugin_controller/templates/controller.rb')
-rw-r--r--lib/generators/redmine_plugin_controller/templates/controller.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/generators/redmine_plugin_controller/templates/controller.rb b/lib/generators/redmine_plugin_controller/templates/controller.rb
new file mode 100644
index 000000000..615986d9e
--- /dev/null
+++ b/lib/generators/redmine_plugin_controller/templates/controller.rb
@@ -0,0 +1,7 @@
+class <%= class_name %>Controller < ApplicationController
+<% actions.each do |action| -%>
+
+ def <%= action %>
+ end
+<% end -%>
+end