|
@@ -2,9 +2,11 @@ module Blazer
|
|
class Engine < ::Rails::Engine
|
|
class Engine < ::Rails::Engine
|
|
isolate_namespace Blazer
|
|
isolate_namespace Blazer
|
|
|
|
|
|
- initializer "precompile" do |app|
|
|
|
|
|
|
+ initializer "blazer" do |app|
|
|
# use a proc instead of a string
|
|
# use a proc instead of a string
|
|
app.config.assets.precompile << proc { |path| path =~ /\Ablazer\/application\.(js|css)\z/ }
|
|
app.config.assets.precompile << proc { |path| path =~ /\Ablazer\/application\.(js|css)\z/ }
|
|
|
|
+
|
|
|
|
+ Blazer.time_zone = Time.zone
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|