Skip to content

Commit

Permalink
Fix users not being able to set their locale
Browse files Browse the repository at this point in the history
  • Loading branch information
BGMP committed Mar 9, 2024
1 parent 0cb16ed commit 4ae5785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
Expand Up @@ -3,7 +3,7 @@ class UsersController < ApplicationController
include RankingsHelper

before_action :authenticate_user!, :except => [:show, :stats]
before_action :authenticate_admin, :except => [:show, :stats]
before_action :authenticate_admin, :except => [:show, :stats, :update_locale]

def members
@users = User.all
Expand Down

0 comments on commit 4ae5785

Please sign in to comment.