Files
Redmine/hooks/lib/generators/redmine_plugin_controller/templates/controller.rb
Jean-Philippe Lang 2a04d6188b Adds plugin controller and model generator.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-10 14:57:05 +00:00

8 lines
132 B
Ruby

class <%= class_name %>Controller < ApplicationController
<% actions.each do |action| -%>
def <%= action %>
end
<% end -%>
end