0
0
Fork 0

New admin setting: open/close registrations, with custom message, from the admin UI

This commit is contained in:
Eugen Rochko 2017-04-04 15:26:57 +02:00
parent 405c495c23
commit 5f54981846
8 changed files with 70 additions and 21 deletions

View file

@ -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