1. Allan Davis
  2. RubyLearning

Source

RubyLearning / ProjectTrak / vendor / rails / railties / lib / rails_generator / generators / components / controller / templates / controller.rb

1
2
3
4
5
6
7
class <%= class_name %>Controller < ApplicationController
<% for action in actions -%>
  def <%= action %>
  end

<% end -%>
end