Module: RailsTasks
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/rails_tasks.rb,
lib/rails_tasks/version.rb
Constant Summary collapse
- VERSION =
"0.0.2"
Instance Method Summary collapse
Instance Method Details
#render(options = {}, locals = {}, &block) ⇒ Object
28 29 30 31 32 33 34 |
# File 'lib/rails_tasks.rb', line 28 def render( = {}, locals = {}, &block) if .is_a?(Hash) && .has_key?(:controller) controller.().html_safe || super else super end end |