End of day commit
This commit is contained in:
@@ -103,7 +103,7 @@ module Qwaiter
|
||||
end
|
||||
|
||||
|
||||
#config.handlebars.templates_root = %w[supplier/app/templates waiter/app/templates user/app/templates] if defined?(Ember::Rails) && defined?(Handlebars)
|
||||
config.handlebars.templates_root = %w[supplier/app/templates waiter/app/templates user/app/templates] if defined?(Ember::Rails) && defined?(Handlebars)
|
||||
|
||||
config.generators do |g|
|
||||
g.orm :simply_stored
|
||||
|
||||
@@ -15,7 +15,7 @@ Qwaiter::Application.configure do
|
||||
# Configure static asset server for tests with Cache-Control for performance
|
||||
config.assets.compile = true
|
||||
config.assets.digest = false
|
||||
config.serve_static_assets = true
|
||||
config.serve_static_files = true
|
||||
config.static_cache_control = "public, max-age=3600"
|
||||
config.assets.compress = false
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
if "Ember::Emblem::Template".safe_constantize
|
||||
Ember::Emblem::Template.configure do |config|
|
||||
config.templates_root = ['app/templates']
|
||||
|
||||
config.templates_root = %w[supplier/app/templates waiter/app/templates user/app/templates]
|
||||
# You can overwrite other config
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user