Permalink
Browse files

Merge branch 'master' of github.com:ashrafuzzaman/rails3-template

  • Loading branch information...
ashrafuzzaman committed May 13, 2012
2 parents 4c8174f + 90f3020 commit 32cc26bd97c0d36a67f1194bfd59f9b27f39fc32
@@ -8,6 +8,7 @@ class NestedScaffoldGenerator < Rails::Generators::NamedBase
def initialize(args, *options) #:nodoc:
super(args, *options)
parse_reources!
assign_names!(r.name)
end
def copy_view_files
@@ -1,4 +1,4 @@
<%%= render 'form' %>
<%%= link_to 'Show', @<%= r.singular_table_name %> %> |
<%%= link_to 'Show', @<%= singular_table_name %> %> |
<%%= link_to 'Back', <%= index_helper_path %> %>

0 comments on commit 32cc26b

Please sign in to comment.