Refactor settings routes and menu

Use sub controllers/routes for the sections
This commit is contained in:
Râu Cao
2022-12-21 18:10:50 +07:00
parent c5fa38fe3d
commit 96cf534d0a
9 changed files with 44 additions and 15 deletions

View File

@@ -0,0 +1,9 @@
<%= render HeaderComponent.new(title: "Settings") %>
<%= render MainWithSidenavComponent.new(sidenav_partial: 'shared/sidenav_settings') do %>
<section>
<h3>Profile</h3>
<p class="mb-12">
</p>
</section>
<% end %>