OSDN Git Service
(root)
/
elecoma
/
elecoma.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3422df0
)
スマートフォン対応のコメントアウトを解除
author
YOSHIDA Hiroki
<hyoshida@appirits.com>
Thu, 16 May 2013 02:59:42 +0000
(11:59 +0900)
committer
YOSHIDA Hiroki
<hyoshida@appirits.com>
Thu, 16 May 2013 03:00:47 +0000
(12:00 +0900)
config/environment.rb
patch
|
blob
|
history
diff --git
a/config/environment.rb
b/config/environment.rb
index
bf2e0f7
..
9faff2c
100644
(file)
--- a/
config/environment.rb
+++ b/
config/environment.rb
@@
-82,6
+82,6
@@
class UnsupportedDeviceLinkRenderer < WillPaginate::LinkRenderer
end
end
-#require 'lib/jpmobile/mobile/smartphone.rb'
-
#
carriers = Jpmobile::Mobile.carriers
-
#
Jpmobile::Mobile.carriers = carriers.push("Smartphone")
+require "#{RAILS_ROOT}/lib/jpmobile/mobile/smartphone.rb"
+carriers = Jpmobile::Mobile.carriers
+Jpmobile::Mobile.carriers = carriers.push("Smartphone")