Permalink
Browse files

Add config static_cache_control

  • Loading branch information...
1 parent a15a97e commit 45019aa5723b93900ba2fdbdbaf96324f996473c @zires committed Mar 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/theme_park/railtie.rb
@@ -41,7 +41,7 @@ class Railtie < ::Rails::Railtie
# We will not mount routes
if config.serve_static_assets
app.routes.prepend do
- mount ThemePark::Rails::Server.new(app) => "#{ThemePark.prefix}/:theme_name"
+ mount ThemePark::Rails::Server.new(app, config.static_cache_control) => "#{ThemePark.prefix}/:theme_name"
end
end
end

0 comments on commit 45019aa

Please sign in to comment.