mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 05:56:03 +01:00
Allow anonymous blocks without an owner
This commit is contained in:
parent
1a4096a42a
commit
0bbb435858
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
require "digest"
|
||||
|
||||
class AnonymousBlock < ApplicationRecord
|
||||
belongs_to :user
|
||||
belongs_to :user, optional: true
|
||||
belongs_to :question, optional: true
|
||||
|
||||
def self.get_identifier(ip)
|
||||
|
|
Loading…
Reference in a new issue