Revert "Use isolate_namespace"

Andrew Kane committed Apr 28, 2014
commit 0356c527b0c59599aceee57f2f72305b429e7d42
Showing 2 changed files with 3 additions and 2 deletions
config/routes.rb +3 -1
@@ @@ -3,5 +3,7 @@ Rails.application.routes.draw do
end
Ahoy::Engine.routes.draw do
- resources :visits, only: [:create]
+ scope module: "ahoy" do
+ resources :visits, only: [:create]
+ end
end
ahoy/engine.rb b/lib/ahoy/engine.rb +0 -1
@@ @@ -1,5 +1,4 @@
module Ahoy
class Engine < ::Rails::Engine
- isolate_namespace Ahoy
end
end