feat: add new view and controller to display app configs together (#3563)

fixes: #3578
This commit is contained in:
Vishnu Narayanan
2022-01-04 21:50:16 +05:30
committed by GitHub
parent e304ad27cb
commit e775d22b98
5 changed files with 102 additions and 1 deletions

View File

@@ -295,6 +295,8 @@ Rails.application.routes.draw do
namespace :super_admin do
root to: 'dashboard#index'
resource :app_config, only: [:show, :create]
# order of resources affect the order of sidebar navigation in super admin
resources :accounts
resources :users, only: [:index, :new, :create, :show, :edit, :update]