You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -394,9 +391,8 @@ be isolated from those routes that are within the application. The
394
391
Next, the `scaffold_controller` generator is invoked, generating a controller
395
392
called `Blorgh::ArticlesController` (at
396
393
`app/controllers/blorgh/articles_controller.rb`) and its related views at
397
-
`app/views/blorgh/articles`. This generator also generates a testfor the
398
-
controller (`test/controllers/blorgh/articles_controller_test.rb`) and a helper
399
-
(`app/helpers/blorgh/articles_helper.rb`).
394
+
`app/views/blorgh/articles`. This generator also generates tests for the
395
+
controller (`test/controllers/blorgh/articles_controller_test.rb`and`test/system/blorgh/articles_test.rb`) and a helper (`app/helpers/blorgh/articles_helper.rb`).
400
396
401
397
Everything this generator has created is neatly namespaced. The controller's
402
398
class is defined within the `Blorgh` module:
@@ -425,10 +421,7 @@ end
425
421
This helps prevent conflicts with any other engine or application that may have
426
422
an article resource as well.
427
423
428
-
Finally, the assets for this resource are generated in two files:
429
-
`app/assets/javascripts/blorgh/articles.js`and
430
-
`app/assets/stylesheets/blorgh/articles.css`. You'll see how to use these a little
431
-
later.
424
+
Finally, the assets for this resource are generated in one file:`app/assets/stylesheets/blorgh/articles.css`. You'll see how to use these a little later.
432
425
433
426
You can see what the engine has so far by running `rails db:migrate` at the root
434
427
of our engine to run the migration generated by the scaffold generator, and then
0 commit comments