BUGFIX: fix broken spec

This commit is contained in:
Sam
2014-01-09 15:11:04 +11:00
parent 177983afe6
commit 74c1555885
2 changed files with 5 additions and 0 deletions

View File

@@ -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