Permalink
Browse files

a rails application should be an engine subclass

  • Loading branch information...
1 parent 7067375 commit 9a36fac810246dad32fb4b88619dda805315d5e7 @tenderlove tenderlove committed Aug 5, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/dispatch/prefix_generation_test.rb
@@ -60,7 +60,7 @@ def self.call(env)
end
end
- class RailsApplication
+ class RailsApplication < Rails::Engine
@routes = ActionDispatch::Routing::RouteSet.new.tap { |routes|
routes.draw do
scope "/:omg", :omg => "awesome" do

0 comments on commit 9a36fac

Please sign in to comment.