OSDN Git Service
(root)
/
elecoma
/
elecoma.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
smartphone website
[elecoma/elecoma.git]
/
config
/
environment.rb
diff --git
a/config/environment.rb
b/config/environment.rb
index
9d9a6f3
..
c604e7e
100644
(file)
--- a/
config/environment.rb
+++ b/
config/environment.rb
@@
-81,3
+81,7
@@
class UnsupportedDeviceLinkRenderer < WillPaginate::LinkRenderer
# @template.content_tag :span, text, {}
end
end
+
+require 'lib/jpmobile/mobile/smartphone.rb'
+carriers = Jpmobile::Mobile.carriers
+Jpmobile::Mobile.carriers = carriers.push("Smartphone")