diff --git a/config/routes.rb b/config/routes.rb --- a/config/routes.rb +++ b/config/routes.rb @@ -99,11 +99,11 @@ get 'import' get 'new_list' get 'admin' - get 'random_all_passwords' get 'active' get 'mass_mailing' + post 'grant_admin' match 'create_from_list', via: [:get, :post] - post 'grant_admin' + match 'random_all_passwords', via: [:get, :post] end member do get 'clear_last_ip'