Skip to content

Commit 5541140

Browse files
authored
Clarify where in file to put controller actions
(Had a student working after a workshop for several weeks stuck on this since she'd added the actions below private!)
1 parent 911fb31 commit 5541140

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sites/en/job-board/update_job_listings.step

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ message "So, it looks like if we want to edit the job description, we should vis
1414

1515
error_box "The action 'edit' could not be found for JobsController"
1616

17-
source_code_with_message "We've seen this before, right? Let's add the controller action:",
17+
source_code_with_message "We've seen this before, right? Let's add the controller action above the word `private`:",
1818
<<-RUBY
1919
def edit
2020
end
@@ -102,7 +102,7 @@ MARKDOWN
102102

103103
error_box "The action 'update' could not be found for JobsController"
104104

105-
source_code_with_message "So it looks like the form is finding the right route, but the method is missing from the controller. Let's add the update method to the file jobs_controller.rb", :ruby,
105+
source_code_with_message "So it looks like the form is finding the right route, but the method is missing from the controller. Let's add the update method--again, above the word `private`--to the file jobs_controller.rb", :ruby,
106106
<<-RUBY
107107
def update
108108
end

0 commit comments

Comments
 (0)