change namespace in rails route

# Step 1: Open the routes.rb file in your Rails application (located in the config directory).

# Step 2: Locate the namespace declaration where you want to make the change.

# Example:
namespace :admin do
  # Your routes for the admin namespace go here
end

# Step 3: Change the namespace by updating the symbol inside the namespace method.

# Example: Change from :admin to :new_namespace
namespace :new_namespace do
  # Your routes for the new_namespace go here
end

# Step 4: Save the changes to the routes.rb file.