Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Commit

Permalink
Add comment to clarify that resque/server must be required at the top…
Browse files Browse the repository at this point in the history
… of the Rails routes file. If you don't do this, you get an uninitialized constant error.
  • Loading branch information
subelsky authored and defunkt committed Sep 23, 2011
1 parent df89630 commit 87970a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Expand Up @@ -475,7 +475,7 @@ HTTP basic auth).

### Rails 3

You can also easily mount Resque on a subpath in your existing Rails 3 app by adding this to your `routes.rb`:
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`:

``` ruby
mount Resque::Server.new, :at => "/resque"
Expand Down

0 comments on commit 87970a9

Please sign in to comment.