mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
BUGFIX: fix broken spec
This commit is contained in:
@@ -12,6 +12,10 @@ module Middleware
|
||||
@env = env
|
||||
end
|
||||
|
||||
def is_mobile=(val)
|
||||
@is_mobile = val ? :true : :false
|
||||
end
|
||||
|
||||
def is_mobile?
|
||||
@is_mobile ||=
|
||||
begin
|
||||
|
||||
Reference in New Issue
Block a user