Refactor user settings
All checks were successful
continuous-integration/drone/push Build is passing
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:
5
app/views/settings/show.html.erb
Normal file
5
app/views/settings/show.html.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<%= render HeaderComponent.new(title: "Settings") %>
|
||||
|
||||
<%= render MainWithSidenavComponent.new(sidenav_partial: 'shared/sidenav_settings') do %>
|
||||
<%= render partial: @settings_section %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user