fix: remove trailing whitespace in admin files

- Clean up trailing whitespace in app/admin/state.rb
- Clean up trailing whitespace in app/admin/subregions.rb
- Clean up trailing whitespace in app/admin/users.rb
- Adjust formatting in cities_controller.rb for consistency

These changes improve code readability and maintainability by
removing unnecessary whitespace. It is a small clean-up that prepares
files for better version control parsing and reduces the diff clutter.
This commit is contained in:
songtianlun 2025-02-11 17:59:44 +08:00
parent 8d347f6f01
commit 6f21fe001e
4 changed files with 2 additions and 6 deletions

View File

@ -15,5 +15,4 @@ ActiveAdmin.register State do
# permitted << :other if params[:action] == 'create' && current_user.admin? # permitted << :other if params[:action] == 'create' && current_user.admin?
# permitted # permitted
# end # end
end end

View File

@ -15,5 +15,4 @@ ActiveAdmin.register Subregion do
# permitted << :other if params[:action] == 'create' && current_user.admin? # permitted << :other if params[:action] == 'create' && current_user.admin?
# permitted # permitted
# end # end
end end

View File

@ -15,5 +15,4 @@ ActiveAdmin.register User do
# permitted << :other if params[:action] == 'create' && current_user.admin? # permitted << :other if params[:action] == 'create' && current_user.admin?
# permitted # permitted
# end # end
end end

View File

@ -63,5 +63,4 @@ class CitiesController < ApplicationController
redirect_to root_path redirect_to root_path
end end
end end
end end