#DeviseHeroku::Engine.routes.draw do
Rails.application.routes.draw do
  scope :module => "DeviseHeroku" do
    post "/heroku/sso/login" => "sso#login"
  end
end
#DeviseHeroku::Engine.routes.draw do
Rails.application.routes.draw do
  scope :module => "devise_heroku" 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.
Use underscore module name in route scope
Rails 4 breaks with camel case module name.
Still works under Rails 3.