Refactor settings routes and menu
Use sub controllers/routes for the sections
This commit is contained in:
9
app/views/settings/profile/index.html.erb
Normal file
9
app/views/settings/profile/index.html.erb
Normal 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 %>
|
||||
Reference in New Issue
Block a user