Renamed helpers to correspond to renamed Controller classes.
[merb_radiant.git] / lib / generators / extension_controller / templates / .svn / text-base / controller.rb.svn-base
blob0cdc989c0fc7efc2f115101d49a25e71d489f377
1 class <%= class_name %>Controller < ApplicationController
2 <% if options[:scaffold] -%>
3   scaffold :<%= singular_name %>
5 <% end -%>
6   # Remove this line if your controller should only be accessible to users
7   # that are logged in:
8   no_login_required
9 <% for action in actions -%>
11   def <%= action %>
12   end
13 <% end -%>
14 end