Add community to Global Settings

This commit is contained in:
taitus
2017-08-29 16:23:58 +02:00
parent dcaa10147a
commit e1a7f9c58c
7 changed files with 60 additions and 7 deletions

View File

@@ -7,6 +7,7 @@ class CommunitiesController < ApplicationController
skip_authorization_check
def show
redirect_to root_path unless Setting['community'].present?
end
private