Autofix Rubocop cops for config/ (#24145)
This commit is contained in:
parent
e715da6d25
commit
85db392464
7 changed files with 43 additions and 69 deletions
|
@ -84,10 +84,10 @@ Rails.application.routes.draw do
|
|||
|
||||
devise_for :users, path: 'auth', format: false, controllers: {
|
||||
omniauth_callbacks: 'auth/omniauth_callbacks',
|
||||
sessions: 'auth/sessions',
|
||||
registrations: 'auth/registrations',
|
||||
passwords: 'auth/passwords',
|
||||
confirmations: 'auth/confirmations',
|
||||
sessions: 'auth/sessions',
|
||||
registrations: 'auth/registrations',
|
||||
passwords: 'auth/passwords',
|
||||
confirmations: 'auth/confirmations',
|
||||
}
|
||||
|
||||
get '/users/:username', to: redirect('/@%{username}'), constraints: lambda { |req| req.format.nil? || req.format.html? }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue