OSDN Git Service

smartphone website
[elecoma/elecoma.git] / config / environment.rb
index 9d9a6f3..c604e7e 100644 (file)
@@ -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")