assets in prod

This commit is contained in:
Tyrel Souza 2014-05-02 15:02:37 -04:00
parent 98804be89d
commit fef260cab5
2 changed files with 4 additions and 3 deletions

View File

@ -19,6 +19,7 @@
label: 'Production Notes',
as: 'text',
hint: "Notes and/or instructions sent in this field are used by the editors to aid in production of the video." %>
<%= videolisting.asseturls %>
<%= f.input :asseturls,
label: 'Asset Urls',
as: 'string',

View File

@ -21,7 +21,7 @@ Vidpush::Application.configure do
# config.action_dispatch.rack_cache = true
# Disable Rails's static asset server (Apache or nginx will already do this).
config.serve_static_assets = false
config.serve_static_assets = true
# Enable deflate / gzip compression of controller-generated responses
config.middleware.use Rack::Deflater
@ -31,7 +31,7 @@ Vidpush::Application.configure do
# config.assets.css_compressor = :sass
# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false
config.assets.compile = true
# Generate digests for assets URLs.
config.assets.digest = true
@ -87,5 +87,5 @@ Vidpush::Application.configure do
# Use default logging formatter so that PID and timestamp are not suppressed.
config.log_formatter = ::Logger::Formatter.new
config.action_mailer.default_url_options = { host: 'vidpush.com' }
config.action_mailer.default_url_options = { host: 'propel-vidpush-staging.heroku.com' }
end