aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-05-07 21:40:23 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-05-07 21:40:34 +0530
commit9d6f28d234d83b6b86c0e059a26a4c2014bcaf08 (patch)
tree2d968b05abef825ecc48b1381947c87e8e8b00f4
parent45aec460d4fd83098fcc0a4889a590320a10e1ca (diff)
downloadrails-9d6f28d234d83b6b86c0e059a26a4c2014bcaf08.tar.gz
rails-9d6f28d234d83b6b86c0e059a26a4c2014bcaf08.tar.bz2
rails-9d6f28d234d83b6b86c0e059a26a4c2014bcaf08.zip
update readme to reflect app/assets
-rw-r--r--railties/lib/rails/generators/rails/app/templates/README15
1 files changed, 10 insertions, 5 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/README b/railties/lib/rails/generators/rails/app/templates/README
index 9f0f1d0e38..7c36f2356e 100644
--- a/railties/lib/rails/generators/rails/app/templates/README
+++ b/railties/lib/rails/generators/rails/app/templates/README
@@ -156,6 +156,10 @@ PostgreSQL and SQLite 3.
The default directory structure of a generated Ruby on Rails application:
|-- app
+ | |-- assets
+ | |-- images
+ | |-- javascripts
+ | `-- stylesheets
| |-- controllers
| |-- helpers
| |-- mailers
@@ -172,9 +176,6 @@ The default directory structure of a generated Ruby on Rails application:
| `-- tasks
|-- log
|-- public
- | |-- images
- | |-- javascripts
- | `-- stylesheets
|-- script
|-- test
| |-- fixtures
@@ -188,11 +189,16 @@ The default directory structure of a generated Ruby on Rails application:
| |-- sessions
| `-- sockets
`-- vendor
+ |-- assets
+ `-- stylesheets
`-- plugins
app
Holds all the code that's specific to this particular application.
+app/assets
+ Contains subdirectories for images, stylesheets, and JavaScript files.
+
app/controllers
Holds controllers that should be named like weblogs_controller.rb for
automated URL mapping. All controllers should descend from
@@ -237,8 +243,7 @@ lib
the load path.
public
- The directory available for the web server. Contains subdirectories for
- images, stylesheets, and javascripts. Also contains the dispatchers and the
+ The directory available for the web server. Also contains the dispatchers and the
default HTML files. This should be set as the DOCUMENT_ROOT of your web
server.