Sha256: 2ae5529364d4a438f0eb2c0f00d5ba6cf0a71c2c5f02e063c6ecdf78b0a5c2f7
Contents?: true
Size: 725 Bytes
Versions: 20
Compression:
Stored size: 725 Bytes
Contents
unless ActionView.const_defined?(:Template) ActionView::Base.class_eval do attr_reader :template_file_path def render_template_with_saving_file_path(template_extension, template, file_path = nil, local_assigns = {}) @template_file_path = file_path render_template_without_saving_file_path(template_extension, template, file_path, local_assigns) end alias_method_chain :render_template, :saving_file_path def render_partial_with_notification(*args, &blk) @is_partial_template = true render_partial_without_notification(*args, &blk) end alias_method_chain :render_partial, :notification def is_partial_template? @is_partial_template || false end end end
Version data entries
20 entries across 20 versions & 2 rubygems