Class: Egalite::Keitai::Controller
Constant Summary
Constants inherited
from Controller
Controller::MIME_TYPES
Instance Attribute Summary
Attributes inherited from Controller
#env, #log_values, #params, #req, #template_file
Instance Method Summary
collapse
Methods included from Session
#do_after_filter_for_keitai, #load_keitai_session, #modify_url_for_keitai, #redirector_url, #replace_url_for_keitai
Methods inherited from Controller
#after_filter_html, #after_filter_return_value, #cookies, #db, #delegate, #errorlog, #escape_html, #file_form, #filter_on_html_load, #form, #id, #include, #link_to, #notfound, #raw, #redirect, #redirect_permanent, #send_data, #send_file, #session, #table_by_array, #tags, #url_for
Instance Method Details
#after_filter(response) ⇒ Object
87
88
89
90
91
|
# File 'lib/egalite/keitai/keitai.rb', line 87
def after_filter(response)
do_after_filter_for_keitai(response,session)
super(response)
response
end
|
#before_filter ⇒ Object
77
78
79
80
|
# File 'lib/egalite/keitai/keitai.rb', line 77
def before_filter
load_keitai_session(params[:sessionid])
super
end
|
84
85
86
|
# File 'lib/egalite/keitai/keitai.rb', line 84
def my_host
/^www.example.com$/
end
|
#redirector_crypt_key ⇒ Object
81
82
83
|
# File 'lib/egalite/keitai/keitai.rb', line 81
def redirector_crypt_key
"Example1"
end
|