Rename settings page
This commit is contained in:
7
app/controllers/account_controller.rb
Normal file
7
app/controllers/account_controller.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class AccountController < ApplicationController
|
||||
before_action :require_user_signed_in
|
||||
|
||||
def index
|
||||
@current_section = :account
|
||||
end
|
||||
end
|
||||
@@ -1,7 +0,0 @@
|
||||
class SecurityController < ApplicationController
|
||||
before_action :require_user_signed_in
|
||||
|
||||
def index
|
||||
@current_section = :security
|
||||
end
|
||||
end
|
||||
@@ -1,4 +1,4 @@
|
||||
class Settings::SecurityController < SettingsController
|
||||
class Settings::AccountController < SettingsController
|
||||
|
||||
def index
|
||||
end
|
||||
Reference in New Issue
Block a user