提交 9a36fac8 编写于 作者: A Aaron Patterson

a rails application should be an engine subclass

上级 70673759
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册