repo.or.cz
/
merb_radiant.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Renamed helpers to correspond to renamed Controller classes.
[merb_radiant.git]
/
lib
/
generators
/
extension_controller
/
templates
/
.svn
/
text-base
/
controller.rb.svn-base
blob
0cdc989c0fc7efc2f115101d49a25e71d489f377
1
class <%= class_name %>Controller < ApplicationController
2
<% if options[:scaffold] -%>
3
scaffold :<%= singular_name %>
4
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 -%>
10
11
def <%= action %>
12
end
13
<% end -%>
14
end