Sha256: ac2e50d18d3c6d6ce8a5f933cfe3369ae2dbd826e3a1f2a98243fa9fda3c1760
Contents?: true
Size: 615 Bytes
Versions: 1
Compression:
Stored size: 615 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] 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jpmobile-0.0.7 | test/rails/overrides/app/controllers/filter_controller.rb |