Sha256: 1d4df379eb58d4680978ec15a5fd71f90fe868927376a03b424797b10121b728

Contents?: true

Size: 928 Bytes

Versions: 11

Compression:

Stored size: 928 Bytes

Contents

# -*- coding: utf-8 -*-
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]
    render :text => @q
  end
  def index_hankaku
    render :text => 'アブラカダブラ' == params[:q]
  end
  def index_zenkaku
    render :text => 'アブラカダブラ' == params[:q]
  end
  def empty
    render :text => ""
  end
  def rawdata
    send_data "アブラカダブラ", :type => 'application/octet-stream'
  end
  def textarea
    render :text => '<textarea hoge="fuu">アブラカダブラ</textarea>'
  end
  def input_tag
    render :text => '<input hoge="fuu" value="アブラカダブラ" />'
  end
  def nbsp_char
    render :text => '<a>アブラ&nbsp;カダブラ</a>'
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
jpmobile-4.2.5 test/rails/overrides/app/controllers/filter_controller_base.rb
jpmobile-4.2.4 test/rails/overrides/app/controllers/filter_controller_base.rb
jpmobile-4.1.5 test/rails/overrides/app/controllers/filter_controller_base.rb
jpmobile-4.2.3 test/rails/overrides/app/controllers/filter_controller_base.rb
jpmobile-4.2.2 test/rails/overrides/app/controllers/filter_controller_base.rb
jpmobile-4.2.1 test/rails/overrides/app/controllers/filter_controller_base.rb
jpmobile-4.2.0 test/rails/overrides/app/controllers/filter_controller_base.rb
jpmobile-4.1.4 test/rails/overrides/app/controllers/filter_controller_base.rb
jpmobile-4.1.1 test/rails/overrides/app/controllers/filter_controller_base.rb
jpmobile-4.1.0 test/rails/overrides/app/controllers/filter_controller_base.rb
jpmobile-4.1.0.rc1 test/rails/overrides/app/controllers/filter_controller_base.rb