akkounts/app/controllers/settings_controller.rb
Râu Cao 96cf534d0a
Refactor settings routes and menu
Use sub controllers/routes for the sections
2022-12-21 18:11:13 +07:00

14 lines
226 B
Ruby

class SettingsController < ApplicationController
before_action :require_user_signed_in
before_action :set_current_section
def index
end
private
def set_current_section
@current_section = :settings
end
end