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
Add comment to clarify that resque/server must be required at the top of the Rails routes file. If you don't do this, you get an uninitialized constant error.
Copy file name to clipboardExpand all lines: README.markdown
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -475,7 +475,7 @@ HTTP basic auth).
475
475
476
476
### Rails 3
477
477
478
-
You can also easily mount Resque on a subpath in your existing Rails 3 app by adding this to your `routes.rb`:
478
+
You can also mount Resque on a subpath in your existing Rails 3 app by adding `require resque/server`to the top of your routes file or in an initializer then adding this to`routes.rb`:
0 commit comments