Refactor user settings
All checks were successful
continuous-integration/drone/push Build is passing

Use resources instead of custom controllers, following the Rails way
and making things much cleaner in the process.
This commit is contained in:
Râu Cao
2023-04-03 13:19:07 +02:00
parent 6f2160b479
commit 7f77ad5528
11 changed files with 92 additions and 96 deletions

View File

@@ -0,0 +1,5 @@
<%= render HeaderComponent.new(title: "Settings") %>
<%= render MainWithSidenavComponent.new(sidenav_partial: 'shared/sidenav_settings') do %>
<%= render partial: @settings_section %>
<% end %>