Sha256: daef9551a7cc23cd1c5bfb2c95f1bae8f9f51ccc0074f4e291cc65a7120470ec

Contents?: true

Size: 591 Bytes

Versions: 3

Compression:

Stored size: 591 Bytes

Contents

class FilterControllerBase < ApplicationController
  def abracadabra_utf8
    render :text => "アブラカダブラ"
  end
  def abracadabra_xhtml_utf8
    response.content_type = "application/xhtml+xml"
    render :text => "アブラカダブラ"
  end
  def index
    @q = params[:q]
  end
  def empty
    render :text => ""
  end
  def rawdata
    send_data "アブラカダブラ", :type => 'application/octet-stream'
  end
end

class FilterController < FilterControllerBase
  mobile_filter
end

class HankakuFilterController < FilterControllerBase
  mobile_filter :hankaku => true
end

Version data entries

3 entries across 2 versions & 1 rubygems

Version Path
jpmobile-0.0.7 test/rails/rails_root/app/controllers/filter_controller.rb
jpmobile-0.0.6 test/rails/overrides/app/controllers/filter_controller.rb
jpmobile-0.0.6 test/rails/rails_root/app/controllers/filter_controller.rb