Module: SimpleExposure::BeforeRender

Extended by:
ActiveSupport::Concern
Defined in:
lib/simple_exposure/before_render.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#render_with_before_render_action(*options, &block) ⇒ Object



12
13
14
15
16
# File 'lib/simple_exposure/before_render.rb', line 12

def render_with_before_render_action(*options, &block)
  run_callbacks :render do
    render_without_before_render_action(*options, &block)
  end
end