lib/jets/core.rb in jets-1.0.15 vs lib/jets/core.rb in jets-1.0.16
- old
+ new
@@ -9,10 +9,10 @@
# then the project's config/application.rb is loaded.
@@application = nil
def application
return @@application if @@application
- @@application = Jets::Application.new
+ @@application = Jets::Application.instance
@@application.setup!
@@application
end
# For some reason memoize doesnt work with application, think there's
# some circular dependency issue. Figure this out later.