mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:41:25 +08:00
DEV: Upgrade to Rails 7
This patch upgrades Rails to version 7.0.2.4.
This commit is contained in:

committed by
Loïc Guitaut

parent
532f9cdb1a
commit
008b700a3f
@ -1,6 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class PostsController < ApplicationController
|
||||
# Bug with Rails 7+
|
||||
# see https://github.com/rails/rails/issues/44867
|
||||
self._flash_types -= [:notice]
|
||||
|
||||
requires_login except: [
|
||||
:show,
|
||||
|
Reference in New Issue
Block a user