mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-24 13:03:02 +01:00
hund.
This commit is contained in:
parent
5e7ae90858
commit
02db8e1a56
3 changed files with 4 additions and 3 deletions
|
@ -98,7 +98,7 @@ class ApplicationController < ActionController::Base
|
|||
def not_readonly_flash!(view_name)
|
||||
return unless Retrospring::Config.readonly?
|
||||
|
||||
flash[:error] = t("errors.read_only_mode")
|
||||
flash.now[:error] = t("errors.read_only_mode")
|
||||
render view_name
|
||||
|
||||
false
|
||||
|
|
|
@ -62,7 +62,8 @@ features:
|
|||
advanced_frontpage:
|
||||
enabled: false
|
||||
# readonly mode -- users can only delete
|
||||
readonly: false
|
||||
readonly:
|
||||
enabled: false
|
||||
|
||||
# Redis
|
||||
redis_url: "redis://localhost:6379"
|
||||
|
|
Loading…
Reference in a new issue