]> cat aescling's git repositories - mastodon.git/commitdiff
Fix custom CSS controller (#11336)
authorThibG <thib@sitedethib.com>
Wed, 17 Jul 2019 15:14:25 +0000 (17:14 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 17 Jul 2019 15:14:25 +0000 (17:14 +0200)
app/controllers/custom_css_controller.rb

index 7f4dcfcfe673162e3627bf82ca44aa8b77254b84..e3f67bd144c32db4a883ec9ee6a98e1083892d23 100644 (file)
@@ -6,7 +6,7 @@ class CustomCssController < ApplicationController
   before_action :set_cache_headers
 
   def show
-    expires 3.minutes, public: true
+    expires_in 3.minutes, public: true
     render plain: Setting.custom_css || '', content_type: 'text/css'
   end
 end