summaryrefslogtreecommitdiffstats
path: root/lib/generators/redmine_plugin_controller/templates/controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-09-05 10:31:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-09-05 10:31:06 +0000
commitf7acdd1afde3018a9f7c0a7dc3b6bd97a65670a2 (patch)
treeba4070526883885914942b3a0d253eb2a6e63bf8 /lib/generators/redmine_plugin_controller/templates/controller.rb
parent4b9df2eac774aa045aa5207c8bc613ed6ca67d42 (diff)
downloadredmine-f7acdd1afde3018a9f7c0a7dc3b6bd97a65670a2.tar.gz
redmine-f7acdd1afde3018a9f7c0a7dc3b6bd97a65670a2.zip
Merged hooks branch @ r1785 into trunk.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1786 e93f8b46-1217-0410-a6f0-8f06a7374b81
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