Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Kulp committed Aug 17, 2024
1 parent 0c0a6c4 commit e3d2c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
end

# admin panels
authenticated :user, ->(user) { user.admin? } do
authenticated :user, lambda(&:admin?) do
# insert sidekiq etc
mount Split::Dashboard, at: 'admin/split'
end
Expand Down

0 comments on commit e3d2c32

Please sign in to comment.