New admin setting: open/close registrations, with custom message, from the admin UI
This commit is contained in:
parent
405c495c23
commit
5f54981846
8 changed files with 70 additions and 21 deletions
|
@ -4,7 +4,9 @@ class AboutController < ApplicationController
|
|||
before_action :set_body_classes
|
||||
|
||||
def index
|
||||
@description = Setting.site_description
|
||||
@description = Setting.site_description
|
||||
@open_registrations = Setting.open_registrations
|
||||
@closed_registrations_message = Setting.closed_registrations_message
|
||||
|
||||
@user = User.new
|
||||
@user.build_account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue