added show page for custom domain

This commit is contained in:
shlok007 2017-08-03 00:07:38 +05:30
parent ec435b6503
commit 364adffdab
4 changed files with 86 additions and 0 deletions

View file

@ -4,6 +4,8 @@ module Admin
load_resource :program, through: :conference, singleton: true, except: :index
load_resource :user, only: [:remove_user]
def cusrom_domain; end
def index
# Redirect to new form if there is no conference
if Conference.count == 0