Skip to content

Commit

Permalink
update readme to reflect app/assets
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaydev committed May 7, 2011
1 parent 45aec46 commit 9d6f28d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions railties/lib/rails/generators/rails/app/templates/README
Expand Up @@ -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
Expand All @@ -172,9 +176,6 @@ The default directory structure of a generated Ruby on Rails application:
| `-- tasks
|-- log
|-- public
| |-- images
| |-- javascripts
| `-- stylesheets
|-- script
|-- test
| |-- fixtures
Expand All @@ -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
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 9d6f28d

Please sign in to comment.