Skip to content

Commit

Permalink
Use underscore module name in route scope
Browse files Browse the repository at this point in the history
Rails 4 breaks with camel case module name.
Still works under Rails 3.
  • Loading branch information
danielmorrison committed Sep 1, 2013
1 parent b9725d3 commit 54a2897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
@@ -1,6 +1,6 @@
#DeviseHeroku::Engine.routes.draw do
Rails.application.routes.draw do
scope :module => "DeviseHeroku" do
scope :module => "devise_heroku" do
post "/heroku/sso/login" => "sso#login"
end
end

0 comments on commit 54a2897

Please sign in to comment.