Added ban reason #41

Merged
bruncbrunc merged 7 commits from bna into master 2017-10-31 22:20:56 -04:00
Showing only changes of commit 3fb5924318 - Show all commits
+1 -1
View File
1
@@ -32,7 +32,7 @@ class UsersController < ApplicationController
end end
def show def show
@ban_json = JSON.parse(File.read("/etc/minecraft/redstoner/banned-players.json")).detect {|u| u["uuid"] == @user.uuid} @ban_json = JSON.parse(File.read("/etc/minecraft/redstoner/banned-players.json")).detect {|u| u["uuid"].tr("-", "") == @user.uuid}
end end
# SIGNUP # SIGNUP