From 35f7c36f28790fbf0958562a1b9167639aec61d9 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Thu, 30 Jul 2026 17:48:52 +0300 Subject: [PATCH] rename settings index --- .../{settings_index_controller.rb => settings_controller.rb} | 2 +- app/views/{settings_index => settings}/index.html.erb | 0 app/views/shared/_navbar.html.erb | 2 +- app/views/shared/_settings_nav.html.erb | 2 +- config/routes.rb | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename app/controllers/{settings_index_controller.rb => settings_controller.rb} (59%) rename app/views/{settings_index => settings}/index.html.erb (100%) diff --git a/app/controllers/settings_index_controller.rb b/app/controllers/settings_controller.rb similarity index 59% rename from app/controllers/settings_index_controller.rb rename to app/controllers/settings_controller.rb index 1feed012..73aa4daf 100644 --- a/app/controllers/settings_index_controller.rb +++ b/app/controllers/settings_controller.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class SettingsIndexController < ApplicationController +class SettingsController < ApplicationController skip_authorization_check def index; end diff --git a/app/views/settings_index/index.html.erb b/app/views/settings/index.html.erb similarity index 100% rename from app/views/settings_index/index.html.erb rename to app/views/settings/index.html.erb diff --git a/app/views/shared/_navbar.html.erb b/app/views/shared/_navbar.html.erb index fce7a2ee..84536d97 100644 --- a/app/views/shared/_navbar.html.erb +++ b/app/views/shared/_navbar.html.erb @@ -29,7 +29,7 @@