Module: AppyantraAdmin::AdminSettingsHelper

Defined in:
app/helpers/appyantra_admin/admin_settings_helper.rb

Instance Method Summary collapse

Instance Method Details

#fetch_group_settings(group) ⇒ Object



2
3
4
# File 'app/helpers/appyantra_admin/admin_settings_helper.rb', line 2

def fetch_group_settings(group)
  AdminSetting.where(group: group)
end

#settings_groupsObject



6
7
8
# File 'app/helpers/appyantra_admin/admin_settings_helper.rb', line 6

def settings_groups
  AdminSetting.managed_groups
end