```ruby
#WepayRails::Engine.routes.draw do |map|
Rails.application.routes.draw do |map|
  namespace :wepay do
    resources :ipn
    resources :authorize
  end
end
```

Fix for rails 3.1 route definitions
user
```ruby
Rails.application.routes.draw do 
  namespace :wepay do
    resources :ipn
    resources :authorize
  end
end
```
assistant