WIP Add admin settings pages, reserved username config
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Prototyping settings forms
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class Admin::Settings::RegistrationsController < Admin::SettingsController
|
||||
|
||||
def index
|
||||
end
|
||||
|
||||
def update
|
||||
end
|
||||
|
||||
end
|
||||
9
app/controllers/admin/settings/services_controller.rb
Normal file
9
app/controllers/admin/settings/services_controller.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class Admin::Settings::ServicesController < Admin::SettingsController
|
||||
|
||||
def index
|
||||
end
|
||||
|
||||
def update
|
||||
end
|
||||
|
||||
end
|
||||
12
app/controllers/admin/settings_controller.rb
Normal file
12
app/controllers/admin/settings_controller.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class Admin::SettingsController < Admin::BaseController
|
||||
before_action :set_current_section
|
||||
|
||||
def index
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def set_current_section
|
||||
@current_section = :settings
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user