Module: Galakei::Filter::Recode
- Defined in:
- lib/galakei/filter/recode.rb
Overview
On au SSL pages, only Shift-JIS encoding is supported by some handsets, so pages will be reencoded.
Defined Under Namespace
Class Method Summary collapse
-
.condition?(c) ⇒ Boolean
:stopdoc:.
Class Method Details
.condition?(c) ⇒ Boolean
:stopdoc:
5 6 7 |
# File 'lib/galakei/filter/recode.rb', line 5 def self.condition?(c) c.request.ssl? && c.request.au? end |