mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-09 09:56:33 -05:00
Use mime type symbol to set content_type for custom css response (#37845)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
class CustomCssController < ActionController::Base # rubocop:disable Rails/ApplicationController
|
||||
def show
|
||||
expires_in 1.month, public: true
|
||||
render content_type: 'text/css'
|
||||
render content_type: :css
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user