lib/jets/core.rb in jets-0.5.8 vs lib/jets/core.rb in jets-0.6.0
- old
+ new
@@ -21,10 +21,14 @@
def config
application.config
end
+ def aws
+ application.aws
+ end
+
# Load all application base classes and project classes
def boot
Jets::Booter.boot!
end
@@ -75,10 +79,10 @@
end
def version
Jets::VERSION
end
-
+
def eager_load!
Dir.glob("#{Jets.root}app/**/*.rb").select do |path|
next if !File.file?(path) or path =~ %r{/javascript/} or path =~ %r{/views/}
class_name = path