aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2016-11-06 22:12:06 +0200
committerbogdanvlviv <bogdanvlviv@gmail.com>2016-11-06 23:02:23 +0200
commit88aeadb5b3fbc3f20a23f2345655a674a1dfb522 (patch)
treef67eaa3a482b7e7111ccf3f328b0363211f2b3da
parent3359093ff622438141add95edf350c0b288176a0 (diff)
downloadrails-88aeadb5b3fbc3f20a23f2345655a674a1dfb522.tar.gz
rails-88aeadb5b3fbc3f20a23f2345655a674a1dfb522.tar.bz2
rails-88aeadb5b3fbc3f20a23f2345655a674a1dfb522.zip
Fix 'Getting Started with Rails' [ci skip]
`bin/rails generate controller Comments` creates files app/assets/javascripts/comments.coffee app/assets/stylesheets/comments.scss not app/assets/javascripts/comment.coffee app/assets/stylesheets/comment.scss
-rw-r--r--guides/source/getting_started.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index 31d5c4f71d..c04d42d743 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -1655,8 +1655,8 @@ This creates five files and one empty directory:
| app/views/comments/ | Views of the controller are stored here |
| test/controllers/comments_controller_test.rb | The test for the controller |
| app/helpers/comments_helper.rb | A view helper file |
-| app/assets/javascripts/comment.coffee | CoffeeScript for the controller |
-| app/assets/stylesheets/comment.scss | Cascading style sheet for the controller |
+| app/assets/javascripts/comments.coffee | CoffeeScript for the controller |
+| app/assets/stylesheets/comments.scss | Cascading style sheet for the controller |
Like with any blog, our readers will create their comments directly after
reading the article, and once they have added their comment, will be sent back