Cleanup various controllers (#10972)
* Remove skip_session! as it is not supported in Rails 5 * Minor cleanup in StreamEntriesController * Remove redundant mark_cacheable! calls
This commit is contained in:
parent
7fa23ec697
commit
cac9110533
11 changed files with 8 additions and 46 deletions
|
@ -4,7 +4,6 @@ class CustomCssController < ApplicationController
|
|||
before_action :set_cache_headers
|
||||
|
||||
def show
|
||||
skip_session!
|
||||
render plain: Setting.custom_css || '', content_type: 'text/css'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue