diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-09 22:26:36 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-09 22:26:36 +0000 |
commit | c70a7311159b813facec3b76978086f8106377cc (patch) | |
tree | 4c0d2a2bcc9039e3fd7e170a2dad756bdcc4992a /actionpack/lib/action_controller/templates/scaffolds/show.erb | |
parent | 6b0a6472365a7b9c3883d2de3ae19b49e77c847f (diff) | |
download | rails-c70a7311159b813facec3b76978086f8106377cc.tar.gz rails-c70a7311159b813facec3b76978086f8106377cc.tar.bz2 rails-c70a7311159b813facec3b76978086f8106377cc.zip |
Removed ActionController::Base.scaffold -- it went through the whole idea of scaffolding (card board walls you remove and tweak one by one). Use the scaffold generator instead (it does resources too now!) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/templates/scaffolds/show.erb')
-rw-r--r-- | actionpack/lib/action_controller/templates/scaffolds/show.erb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/actionpack/lib/action_controller/templates/scaffolds/show.erb b/actionpack/lib/action_controller/templates/scaffolds/show.erb deleted file mode 100644 index 46cdfdb493..0000000000 --- a/actionpack/lib/action_controller/templates/scaffolds/show.erb +++ /dev/null @@ -1,9 +0,0 @@ -<% for column in @scaffold_class.content_columns %> - <p> - <b><%= column.human_name %>:</b> - <%= instance_variable_get("@#{@scaffold_singular_name}").send(column.name) %> - </p> -<% end %> - -<%= link_to "Edit", :action => "edit#{@scaffold_suffix}", :id => instance_variable_get("@#{@scaffold_singular_name}") %> | -<%= link_to "Back", :action => "list#{@scaffold_suffix}" %> |