From 492e91cc3441a1d0fc8e959bf46b374d424b711e Mon Sep 17 00:00:00 2001 From: Dimitri De Frenne Date: Mon, 26 Mar 2012 11:28:12 +0200 Subject: Fixed typo in path --- guides/source/engines.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/engines.textile') diff --git a/guides/source/engines.textile b/guides/source/engines.textile index 501d48eab8..23b1a2fcb8 100644 --- a/guides/source/engines.textile +++ b/guides/source/engines.textile @@ -263,7 +263,7 @@ create test/fixtures/blorgh/comments.yml This generator call will generate just the necessary model files it needs, namespacing the files under a +blorgh+ directory and creating a model class called +Blorgh::Comment+. -To show the comments on a post, edit +app/views/posts/show.html.erb+ and add this line before the "Edit" link: +To show the comments on a post, edit +app/views/blorgh/posts/show.html.erb+ and add this line before the "Edit" link:

Comments

-- cgit v1.2.3 From ddab3df8d15a854e394623b8aee8c43395e77efe Mon Sep 17 00:00:00 2001 From: Dimitri De Frenne Date: Mon, 26 Mar 2012 11:28:55 +0200 Subject: Made it a bit more clear where to run rails/server --- guides/source/engines.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/engines.textile') diff --git a/guides/source/engines.textile b/guides/source/engines.textile index 23b1a2fcb8..047f9afd76 100644 --- a/guides/source/engines.textile +++ b/guides/source/engines.textile @@ -219,7 +219,7 @@ By default, the scaffold styling is not applied to the engine as the engine's la <%= stylesheet_link_tag "scaffold" %>
-You can see what the engine has so far by running +rake db:migrate+ at the root of our engine to run the migration generated by the scaffold generator, and then running +rails server+. When you open +http://localhost:3000/blorgh/posts+ you will see the default scaffold that has been generated. +You can see what the engine has so far by running +rake db:migrate+ at the root of our engine to run the migration generated by the scaffold generator, and then running +rails server+ in +test/dummy+. When you open +http://localhost:3000/blorgh/posts+ you will see the default scaffold that has been generated. !images/engines_scaffold.png(Blank engine scaffold)! -- cgit v1.2.3