diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-03-24 13:26:02 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-03-24 13:26:02 +0530 |
commit | 64dc614ca58732409695032c1458e6a4283a4fbb (patch) | |
tree | 2c9777f265529f1c315f76553357b449353da0f6 /guides | |
parent | 9a5d4288c59686af4acc8b3de7cb3283c5f5974c (diff) | |
download | rails-64dc614ca58732409695032c1458e6a4283a4fbb.tar.gz rails-64dc614ca58732409695032c1458e6a4283a4fbb.tar.bz2 rails-64dc614ca58732409695032c1458e6a4283a4fbb.zip |
view/views, asset/assets
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/action_view_overview.md | 2 | ||||
-rw-r--r-- | guides/source/getting_started.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md index 4cdac43a7e..3b5963efc2 100644 --- a/guides/source/action_view_overview.md +++ b/guides/source/action_view_overview.md @@ -492,7 +492,7 @@ image_path("edit.png") # => /assets/edit-2d1a2db63fc738690021fedb5a65b68e.png #### image_url -Computes the url to an image asset in the `app/asset/images` directory. This will call `image_path` internally and merge with your current host or your asset host. +Computes the url to an image asset in the `app/assets/images` directory. This will call `image_path` internally and merge with your current host or your asset host. ```ruby image_url("edit.png") # => http://www.example.com/assets/edit.png diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index a1d7e955c8..c9eeb9fab6 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -568,7 +568,7 @@ interested in. We also use an instance variable (prefixed by `@`) to hold a reference to the post object. We do this because Rails will pass all instance variables to the view. -Now, create a new file `app/view/posts/show.html.erb` with the following +Now, create a new file `app/views/posts/show.html.erb` with the following content: ```html+erb |