Skip to content

Commit 5bebdd0

Browse files
committed
Rubocop fixes
1 parent 4872016 commit 5bebdd0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

config/routes.rb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@
1414
class_name: BetterTogether.user_class.to_s,
1515
controllers: {
1616
confirmations: 'better_together/users/confirmations',
17-
# omniauth_callbacks: 'better_together/users/omniauth_callbacks',
17+
omniauth_callbacks: 'better_together/users/omniauth_callbacks',
1818
passwords: 'better_together/users/passwords',
1919
registrations: 'better_together/users/registrations',
2020
sessions: 'better_together/users/sessions'
2121
# unlocks: 'better_together/users/unlocks'
2222
},
2323
module: 'devise',
24-
controllers: {
25-
omniauth_callbacks: 'better_together/omniauth_callbacks'
26-
},
2724
skip: %i[unlocks],
2825
path: 'users',
2926
path_names: {
@@ -44,7 +41,7 @@
4441
member do
4542
post :mark_as_read
4643
end
47-
44+
4845
collection do
4946
post :mark_all_as_read, to: 'notifications#mark_as_read'
5047
end

0 commit comments

Comments
 (0)