File: lib/generators/extension_controller/templates/controller.rb

Code

Code

   1  class <%= class_name %>Controller < ApplicationController
   2    # Remove this line if your controller should only be accessible to users
   3    # that are logged in:
   4    no_login_required
   5  <% for action in actions -%>
   6 
   7    def <%= action %>
   8    end
   9  <% end -%>
  10  end