Skip to content

Commit 87970a9

Browse files
subelskydefunkt
authored andcommitted
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.
1 parent df89630 commit 87970a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ HTTP basic auth).
475475

476476
### Rails 3
477477

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`:
479479

480480
``` ruby
481481
mount Resque::Server.new, :at => "/resque"

0 commit comments

Comments
 (0)