```ruby
#DeviseHeroku::Engine.routes.draw do
Rails.application.routes.draw do
  scope :module => "DeviseHeroku" do
    post "/heroku/sso/login" => "sso#login"
  end
end```

Use underscore module name in route scope Rails 4 breaks with camel case module name. Still works under Rails 3.
user
```ruby
#DeviseHeroku::Engine.routes.draw do
Rails.application.routes.draw do
  scope :module => "devise_heroku" do
    post "/heroku/sso/login" => "sso#login"
  end
end```
assistant