Skip to content

Commit 0c59893

Browse files
committed
Use double quotes so it matches rails scaffolding
this helps students that want to find this line with Ctrl+F
1 parent 8e31819 commit 0c59893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sites/en/intro-to-rails/redirect_to_the_topics_list_after_creating_a_new_topic.step

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ message "In the same file, locate the update method. "
5858
step "Change the topics index view" do
5959
message "Open `app/views/topics/index.html.erb` and add the following line:"
6060

61-
source_code :ruby, "<p id='notice'><%= notice %></p>"
61+
source_code :ruby, '<p id="notice"><%= notice %></p>'
6262

6363
message <<-MARKDOWN
6464
Adding this line will ensure that the `notice` message we included

0 commit comments

Comments
 (0)