Class: ActionController::Base
- Inherits:
-
Object
- Object
- ActionController::Base
- Defined in:
- lib/rubyamf/rails/rails2_bootstrap.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#render_with_amf(options = nil, extra_options = {}, &block) ⇒ Object
:nodoc:
25 26 27 28 29 30 31 32 33 |
# File 'lib/rubyamf/rails/rails2_bootstrap.rb', line 25 def render_with_amf( = nil, ={}, &block) if && .is_a?(Hash) && .has_key?(:amf) @performed_render = true @amf_response = [:amf] @mapping_scope = [:class_mapping_scope] || [:mapping_scope] || nil else render_without_amf(, , &block) end end |